Fix non-deterministic failure in backupable_db_test
Summary: FailOverwritingBackups has unexpected results when auto-compaction runs. Test Plan: ran test a bunch of times Reviewers: IslamAbdelRahman, igor Reviewed By: igor Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D47181
This commit is contained in:
parent
014fd55adc
commit
c7fba80291
@ -961,6 +961,8 @@ TEST_F(BackupableDBTest, OnlineIntegrationTest) {
|
||||
|
||||
TEST_F(BackupableDBTest, FailOverwritingBackups) {
|
||||
options_.write_buffer_size = 1024 * 1024 * 1024; // 1GB
|
||||
options_.disable_auto_compactions = true;
|
||||
|
||||
// create backups 1, 2, 3, 4, 5
|
||||
OpenDBAndBackupEngine(true);
|
||||
for (int i = 0; i < 5; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user