File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2495,11 +2495,7 @@ aggregations:
24952495 // Idempotent: a window closed by the fallback drains its pane and its
24962496 // wall-clock bookkeeping, so a subsequent flush must not re-emit.
24972497 worker. flush_all ( ) . unwrap ( ) ;
2498- assert_eq ! (
2499- sink. len( ) ,
2500- 0 ,
2501- "already-closed window must not re-emit"
2502- ) ;
2498+ assert_eq ! ( sink. len( ) , 0 , "already-closed window must not re-emit" ) ;
25032499 }
25042500
25052501 #[ test]
Original file line number Diff line number Diff line change @@ -111,8 +111,7 @@ async fn netflow_single_second_batch_is_not_lost_on_shutdown() {
111111 } ;
112112
113113 let sink = Arc :: new ( CapturingOutputSink :: new ( ) ) ;
114- let sources: Vec < Box < dyn IngestSource > > =
115- vec ! [ Box :: new( JsonFileIngestSource :: new( json_cfg) ) ] ;
114+ let sources: Vec < Box < dyn IngestSource > > = vec ! [ Box :: new( JsonFileIngestSource :: new( json_cfg) ) ] ;
116115 let engine = PrecomputeEngine :: new (
117116 engine_config_grace_disabled ( ) ,
118117 streaming_config,
@@ -146,7 +145,11 @@ async fn netflow_single_second_batch_is_not_lost_on_shutdown() {
146145 output. start_timestamp,
147146 output. end_timestamp
148147 ) ;
149- assert_eq ! ( output. start_timestamp % 1_000 , 0 , "window must be second-aligned" ) ;
148+ assert_eq ! (
149+ output. start_timestamp % 1_000 ,
150+ 0 ,
151+ "window must be second-aligned"
152+ ) ;
150153
151154 let sum_acc = acc
152155 . as_any ( )
You can’t perform that action at this time.
0 commit comments