0.3.16-pre.007-fix.001

This commit is contained in:
2026-09-22 06:27:44 +02:00
parent d768737629
commit 410e6f7536
4 changed files with 121 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-worker-raw-transaction-ingest-lib/unit_tests/runtime.rs
// version: 13
// version: 14
struct ActiveTaskGuard {
active: std::sync::Arc<std::sync::atomic::AtomicUsize>,
@@ -522,7 +522,7 @@ async fn v0_3_16_pre_007_quarantined_conflict_keeps_worker_running_and_degraded(
assert_eq!(snapshot.store_failure_total(), 0);
assert!(handle.request_stop());
let terminal = handle.wait_terminal().await;
assert_eq!(terminal, std::result::Result::Ok(ksp_worker_api::WorkerState::Stopped));
assert!(matches!(terminal, std::result::Result::Ok(ksp_worker_api::WorkerState::Stopped)));
return;
}