Skip to content

Commit

Permalink
Fix unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbi42 committed May 22, 2023
1 parent 796f58f commit c3b5792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db_compaction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9482,9 +9482,9 @@ TEST_F(DBCompactionTest,

Random rnd(301);
ASSERT_OK(db_->Put(WriteOptions(), Key(5),
rnd.RandomString(1.5 * kBaseLevelBytes)));
rnd.RandomString(3 * kBaseLevelBytes / 2)));
ASSERT_OK(Flush());
db_->CompactRange(CompactRangeOptions(), nullptr, nullptr);
ASSERT_OK(db_->CompactRange(CompactRangeOptions(), nullptr, nullptr));
ASSERT_EQ(1, NumTableFilesAtLevel(6));

ASSERT_OK(
Expand Down

0 comments on commit c3b5792

Please sign in to comment.