v0.3.12-pre.007-fix.002
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/tests/dependency_boundary.rs
|
||||
// version: 14
|
||||
// version: 15
|
||||
|
||||
//! Dependency firewall canaries for the RAW transaction ingest Worker foundation.
|
||||
|
||||
@@ -270,7 +270,17 @@ fn v0_3_12_pre_006_source_surface_hardens_shutdown_and_faults_without_backend_ed
|
||||
"pre.009 crossed a forbidden runtime boundary: {forbidden}"
|
||||
);
|
||||
}
|
||||
assert_eq!(runtime.matches("tokio::sync::watch::channel").count(), 2, "runtime retains only the external-control and private-source stop watches");
|
||||
assert_eq!(
|
||||
runtime.matches("tokio::sync::watch::channel(false)").count(),
|
||||
2,
|
||||
"runtime retains exactly the external-control and private-source stop watches"
|
||||
);
|
||||
assert_eq!(
|
||||
runtime.matches("tokio::sync::watch::channel(crate::RawTransactionIngestProcessingFrontierProjection::empty())").count(),
|
||||
1,
|
||||
"runtime retains exactly one run-local processing-frontier latest-value watch",
|
||||
);
|
||||
assert_eq!(runtime.matches("tokio::sync::watch::channel").count(), 3, "runtime watch inventory is two stop watches plus one processing-frontier watch");
|
||||
assert_eq!(snapshot.matches("tokio::sync::watch::channel").count(), 1, "exactly one shared concrete snapshot watch is allowed");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user