v0.3.12-pre.009-fix.001
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/unit_tests/runtime_resources.rs
|
||||
// version: 10
|
||||
// version: 11
|
||||
|
||||
fn grpc_endpoint(cluster: &str) -> std::option::Option<ksp_onchain_transport_lib::YellowstoneGrpcEndpointSettings> {
|
||||
return grpc_endpoint_with_identity(cluster, "yellowstone-fixture", "fixture-provider");
|
||||
@@ -1455,7 +1455,8 @@ async fn pre_009_duplicate_storm_is_bounded_coalesced_and_abort_leaves_no_orphan
|
||||
let pending = *frontier_receiver.borrow();
|
||||
assert_eq!(pending.hydration_pending(), 3);
|
||||
assert_eq!(pending.oldest_pending_slot(), std::option::Option::Some(10));
|
||||
assert_eq!(pending.processing_frontier_slot(), std::option::Option::Some(9));
|
||||
assert!(pending.processing_frontier_slot() != std::option::Option::Some(10));
|
||||
let safe_frontier_before_abort = pending.processing_frontier_slot();
|
||||
coordinator.abort_all(&mut processing_frontier).await;
|
||||
assert!(coordinator.pending.is_empty());
|
||||
assert_eq!(coordinator.pending_signal_count, 0);
|
||||
@@ -1463,7 +1464,7 @@ async fn pre_009_duplicate_storm_is_bounded_coalesced_and_abort_leaves_no_orphan
|
||||
let cleaned = *frontier_receiver.borrow();
|
||||
assert_eq!(cleaned.hydration_pending(), 0);
|
||||
assert_eq!(cleaned.oldest_pending_slot(), std::option::Option::None);
|
||||
assert_eq!(cleaned.processing_frontier_slot(), std::option::Option::Some(9));
|
||||
assert_eq!(cleaned.processing_frontier_slot(), safe_frontier_before_abort);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user