Skip to content

Commit 581142e

Browse files
fix(precompute): use supported aggregation type in routing tests
1 parent d406518 commit 581142e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ mod tests {
326326
async fn run_rejects_invalid_spatial_filter_before_starting_workers() {
327327
let config = AggregationConfig::new(
328328
1,
329-
AggregationType::SingleSubpopulation,
329+
AggregationType::Sum,
330330
"Sum".to_string(),
331331
HashMap::new(),
332332
promql_utilities::data_model::key_by_label_names::KeyByLabelNames::new(vec![]),

‎asap-query-engine/src/precompute_engine/ingest_source.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ mod tests {
277277
fn aggregation_config(spatial_filter: &str) -> AggregationConfig {
278278
AggregationConfig::new(
279279
7,
280-
AggregationType::SingleSubpopulation,
280+
AggregationType::Sum,
281281
"Sum".to_string(),
282282
HashMap::new(),
283283
KeyByLabelNames::new(vec![]),

0 commit comments

Comments
 (0)