Skip to content

Commit

Permalink
Fix status check
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-zhuang committed Jan 29, 2022
1 parent 3296282 commit 2562306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db_compaction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4756,7 +4756,7 @@ TEST_F(DBCompactionTest, SubcompactionEvent) {
comp_opts.max_subcompactions = 4;
Status s = dbfull()->CompactRange(comp_opts, nullptr, nullptr);
ASSERT_OK(s);
dbfull()->TEST_WaitForCompact();
ASSERT_OK(dbfull()->TEST_WaitForCompact());
// make sure there's no running compaction
ASSERT_EQ(listener->GetRunningCompactionCount(), 0);
// and sub compaction is triggered
Expand Down

0 comments on commit 2562306

Please sign in to comment.