strip session-added comments
Some checks failed
CI / Check / Test (push) Has been cancelled
CI / Check / Test (pull_request) Has been cancelled

This commit is contained in:
2026-10-26 10:32:38 +01:00
parent a270632e87
commit f020108024
138 changed files with 0 additions and 719 deletions

View File

@@ -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(_)