strip session-added comments
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
//! Crash recovery through the real worker dispatch and the real sqlite ledger.
|
||||
|
||||
mod support;
|
||||
|
||||
use std::sync::atomic::{AtomicU32, Ordering};
|
||||
@@ -56,9 +54,6 @@ impl EventConsumer for Once {
|
||||
}
|
||||
}
|
||||
|
||||
/// A claim abandoned mid-handler blocks redeliveries (deferred, not failed)
|
||||
/// until its lease lapses; then the next delivery takes it over and runs the
|
||||
/// handler once, and later deliveries skip it.
|
||||
#[tokio::test]
|
||||
async fn an_abandoned_claim_defers_deliveries_until_the_lease_lapses_then_runs_once() {
|
||||
let pool = support::memory_pool().await;
|
||||
@@ -68,7 +63,6 @@ async fn an_abandoned_claim_defers_deliveries_until_the_lease_lapses_then_runs_o
|
||||
Duration::from_secs(1),
|
||||
));
|
||||
let id = EventId::new();
|
||||
// The crashed worker: claimed, never completed or released.
|
||||
assert!(matches!(
|
||||
ledger.begin(&id, "crashy").await.unwrap(),
|
||||
Begin::Run(_)
|
||||
|
||||
Reference in New Issue
Block a user