fix: defer blocked deliveries, claim owner token
This commit is contained in:
@@ -26,7 +26,10 @@ async fn removes_only_rows_older_than_the_retention_window() {
|
||||
.unwrap();
|
||||
|
||||
use domain::ports::{Begin, ProcessedEventLedger};
|
||||
assert_eq!(store.begin(&stale, "h").await.unwrap(), Begin::Run);
|
||||
assert!(matches!(
|
||||
store.begin(&stale, "h").await.unwrap(),
|
||||
Begin::Run(_)
|
||||
));
|
||||
assert_eq!(store.begin(&fresh, "h").await.unwrap(), Begin::AlreadyDone);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user