Skip to content

Commit

Permalink
Fix failed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbi42 committed May 11, 2023
1 parent b18ebf2 commit e85123d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/db_options_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,7 @@ TEST_F(DBOptionsTest, SetFIFOCompactionOptions) {
options.compression = kNoCompression;
options.create_if_missing = true;
options.compaction_options_fifo.allow_compaction = false;
options.num_levels = 1;
env_->SetMockSleep();
options.env = env_;

Expand Down Expand Up @@ -1061,6 +1062,7 @@ TEST_F(DBOptionsTest, FIFOTtlBackwardCompatible) {
options.write_buffer_size = 10 << 10; // 10KB
options.create_if_missing = true;
options.env = CurrentOptions().env;
options.num_levels = 1;

ASSERT_OK(TryReopen(options));

Expand Down

0 comments on commit e85123d

Please sign in to comment.