Attempt fix flaky DBWriteTest.LockWALInEffect (#11209)

Summary:
Example failure:
```
[ RUN      ] DBWriteTestInstance/DBWriteTest.LockWALInEffect/1
db/db_write_test.cc:646: Failure
Put("key3", "value")
Corruption: Not active
```
Presumably from a background compaction prior to Put.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11209

Test Plan: watch CI

Reviewed By: akankshamahajan15

Differential Revision: D43147727

Pulled By: pdillinger

fbshipit-source-id: a1c34ac5ab124bfe2f23205a30777990056e9082
oxigraph-8.1.1
Peter Dillinger 2 years ago committed by Facebook GitHub Bot
parent 34bb3ddc43
commit b7747bbc9f
  1. 1
      db/db_write_test.cc

@ -612,6 +612,7 @@ TEST_P(DBWriteTest, LockWALInEffect) {
std::unique_ptr<FaultInjectionTestEnv> 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

Loading…
Cancel
Save