mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-28 05:43:50 +00:00
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
This commit is contained in:
parent
34bb3ddc43
commit
b7747bbc9f
|
@ -612,6 +612,7 @@ TEST_P(DBWriteTest, LockWALInEffect) {
|
||||||
std::unique_ptr<FaultInjectionTestEnv> mock_env(
|
std::unique_ptr<FaultInjectionTestEnv> mock_env(
|
||||||
new FaultInjectionTestEnv(env_));
|
new FaultInjectionTestEnv(env_));
|
||||||
options.env = mock_env.get();
|
options.env = mock_env.get();
|
||||||
|
options.disable_auto_compactions = true;
|
||||||
options.paranoid_checks = false;
|
options.paranoid_checks = false;
|
||||||
Reopen(options);
|
Reopen(options);
|
||||||
// try the 1st WAL created during open
|
// try the 1st WAL created during open
|
||||||
|
|
Loading…
Reference in a new issue