diff --git a/src/promql/src/native/execute/tests.rs b/src/promql/src/native/execute/tests.rs index f3150039710..3fbd164888f 100644 --- a/src/promql/src/native/execute/tests.rs +++ b/src/promql/src/native/execute/tests.rs @@ -4983,7 +4983,7 @@ fn runtime_input_ids_route_repeated_and_distinct_source_indexes() { } assert_eq!( addressed(&run(&mut execution)), - vec![(0, vec![Some(6.0); 2])] + vec![(0, vec![Some(9.0); 2])] ); } @@ -9521,7 +9521,7 @@ fn an_ended_execution_keeps_no_input_schema_or_grid() { /// refusal is not a stop: what the execution holds is the answer the caller has not pulled yet. #[test] fn a_chunk_pushed_after_the_input_ended_is_refused() { - let (tree, grid, left, right) = binary_tree(BinaryOp::Add, 4); + let (tree, grid, _, _) = binary_tree(BinaryOp::Add, 4); let schema = evaluated_schema(Arc::clone(&grid)); let pool = bounded_pool(1 << 22); let mut execution = executor(&tree, Arc::clone(&pool)); diff --git a/src/query/tests/native_multi_selector.rs b/src/query/tests/native_multi_selector.rs index e76218ca63b..a0d500e11fe 100644 --- a/src/query/tests/native_multi_selector.rs +++ b/src/query/tests/native_multi_selector.rs @@ -343,13 +343,9 @@ fn two_selectors_are_summed_from_two_inputs() { ); } -/// `a / on(job) b` matches on `job` alone, so two series that differ in `instance` pair up. The same -/// inputs through `a / b` — the default matching, which matches on every label but `__name__` — pair -/// nothing, and that difference is what proves the `on` list reached the kernel. - #[test] fn noncommutative_vector_operations_keep_left_right_values() { - for (query, expected) in [("a / on() b", 0.5), ("a - on() b", -1.0)] { + for (query, expected) in [("a / on() b", 0.5), ("a - on() b", -2.0)] { let compiled = compile(query); let chunks = run( &compiled,