Skip to content

Commit

Permalink
deflake unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkr committed Jan 29, 2024
1 parent 57f4984 commit 83bfbda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions db/column_family_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3056,8 +3056,7 @@ TEST_P(ColumnFamilyTest, CompactionSpeedupForMarkedFiles) {
// Make a nonempty last level. Only marked files in upper levels count.
ASSERT_OK(db_->Put(WriteOptions(), "foo", "bar"));
ASSERT_OK(db_->Flush(FlushOptions()));
AssertFilesPerLevel("1", 0 /* cf */);
CompactAll(0 /* cf */);
WaitForCompaction();
AssertFilesPerLevel("0,1", 0 /* cf */);

// Block the compaction thread pool so marked files accumulate in L0.
Expand Down

0 comments on commit 83bfbda

Please sign in to comment.