Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Little-Wallace <[email protected]>
  • Loading branch information
Little-Wallace committed Aug 11, 2023
1 parent 3bf0882 commit 6fe63c9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,9 @@ pub mod tests {

let mut local_stats = LocalPickerStatistic::default();
push_table_level0_overlapping(&mut levels, generate_table(8, 1, 199, 233, 3));
let ret = picker.pick_compaction(&levels, &levels_handler, &mut local_stats);
assert!(ret.is_none());
let _ = picker
.pick_compaction(&levels, &levels_handler, &mut local_stats)
.unwrap();

// Don't pick overlapping sub-level 8
levels_handler[0].remove_task(1);
Expand Down

0 comments on commit 6fe63c9

Please sign in to comment.