diff --git a/db/db_write_test.cc b/db/db_write_test.cc index 3c7271a9b..0c13cb81f 100644 --- a/db/db_write_test.cc +++ b/db/db_write_test.cc @@ -612,6 +612,7 @@ TEST_P(DBWriteTest, LockWALInEffect) { std::unique_ptr mock_env( new FaultInjectionTestEnv(env_)); options.env = mock_env.get(); + options.disable_auto_compactions = true; options.paranoid_checks = false; Reopen(options); // try the 1st WAL created during open