Skip to content

Commit 16f6136

Browse files
zz_yclaude
andcommitted
style: fix rustfmt formatting in worker tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 31906ef commit 16f6136

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

  • asap-query-engine/src/precompute_engine

asap-query-engine/src/precompute_engine/worker.rs

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ mod tests {
575575
use serde_json::json;
576576
use std::io::Write;
577577

578-
579578
#[test]
580579
fn test_extract_metric_name() {
581580
assert_eq!(
@@ -670,8 +669,8 @@ mod tests {
670669
rx,
671670
sink,
672671
agg_configs,
673-
10_000, // max_buffer_per_series
674-
0, // allowed_lateness_ms
672+
10_000, // max_buffer_per_series
673+
0, // allowed_lateness_ms
675674
pass_raw,
676675
raw_agg_id,
677676
late_policy,
@@ -1096,10 +1095,10 @@ mod tests {
10961095
rx,
10971096
sink.clone(),
10981097
agg_configs,
1099-
10_000, // max_buffer_per_series
1100-
0, // allowed_lateness_ms
1101-
false, // pass_raw_samples
1102-
0, // raw_mode_aggregation_id
1098+
10_000, // max_buffer_per_series
1099+
0, // allowed_lateness_ms
1100+
false, // pass_raw_samples
1101+
0, // raw_mode_aggregation_id
11031102
LateDataPolicy::Drop,
11041103
);
11051104

@@ -1139,9 +1138,9 @@ mod tests {
11391138
sink.clone(),
11401139
agg_configs,
11411140
10_000, // max_buffer_per_series
1142-
15_000, // allowed_lateness_ms
1143-
false, // pass_raw_samples
1144-
0, // raw_mode_aggregation_id
1141+
15_000, // allowed_lateness_ms
1142+
false, // pass_raw_samples
1143+
0, // raw_mode_aggregation_id
11451144
LateDataPolicy::ForwardToStore,
11461145
);
11471146

@@ -1257,7 +1256,6 @@ aggregations:
12571256
);
12581257
}
12591258

1260-
12611259
#[test]
12621260
fn test_extract_key_from_series() {
12631261
let config = AggregationConfig::new(

0 commit comments

Comments
 (0)