fault_injection_test: bring back 3 iteration runs

Summary: 3 iterations were disabled by mistake by one recent commit, causing CLANG build error. Fix it

Test Plan:
USE_CLANG=1 make fault_injection_test
and run the test

Reviewers: igor

Reviewed By: igor

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D32109
main
sdong 10 years ago
parent c2e8e8c1c0
commit 43ec4e68ba
  1. 2
      db/fault_injection_test.cc

@ -620,6 +620,7 @@ TEST(FaultInjectionTest, FaultTest) {
Random rnd(301);
ASSERT_OK(SetUp());
for (size_t idx = 0; idx < kNumIterations; idx++) {
int num_pre_sync = rnd.Uniform(kMaxNumValues);
int num_post_sync = rnd.Uniform(kMaxNumValues);
@ -654,6 +655,7 @@ TEST(FaultInjectionTest, FaultTest) {
NoWriteTestPreFault();
NoWriteTestReopenWithFault(kResetDeleteUnsyncedFiles);
}
}
} while (ChangeOptions());
}

Loading…
Cancel
Save