diff options
author | agiardullo <agiardullo@fb.com> | 2015-09-17 17:11:10 -0700 |
---|---|---|
committer | agiardullo <agiardullo@fb.com> | 2015-09-17 20:14:51 -0700 |
commit | c7fba8029135c2ead57d9033c687472befe0424e (patch) | |
tree | 66b3e36f1425dd2d5ceb30b808f8599a81f6cb89 /utilities/backupable | |
parent | 014fd55adca7b217d08f579f78303eef39b834f2 (diff) |
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
Diffstat (limited to 'utilities/backupable')
-rw-r--r-- | utilities/backupable/backupable_db_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utilities/backupable/backupable_db_test.cc b/utilities/backupable/backupable_db_test.cc index c9e0e9a13..5e4d6905d 100644 --- a/utilities/backupable/backupable_db_test.cc +++ b/utilities/backupable/backupable_db_test.cc @@ -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) { |