Skip to content

Commit 1b57434

Browse files
committed
Fix tests
1 parent 259d31d commit 1b57434

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,10 @@ fn assert_post_condition_physical_plan_match_solution(
536536
assert_eq!(num_indexers, id_to_ord_map.indexer_ids.len());
537537
let mut reconstructed_solution = SchedulingSolution::with_num_indexers(num_indexers);
538538
convert_physical_plan_to_solution(physical_plan, id_to_ord_map, &mut reconstructed_solution);
539-
assert_eq!(solution, &reconstructed_solution);
539+
assert_eq!(
540+
solution.indexer_assignments,
541+
reconstructed_solution.indexer_assignments
542+
);
540543
}
541544

542545
fn add_shard_to_indexer(

quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/scheduling_logic_model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl IndexerAssignment {
229229
}
230230
}
231231

232-
#[derive(Clone, Debug, Eq, PartialEq)]
232+
#[derive(Clone, Debug)]
233233
pub struct SchedulingSolution {
234234
pub indexer_assignments: Vec<IndexerAssignment>,
235235
// used for tests

0 commit comments

Comments
 (0)