Lower num of iterations in DeadlockCycle test

Summary:
Currently this test times out with tsan. This is likely due to decreased speed with tsan. By lowering the number of iterations we can still catch a bug as the test is run regularly and multiple runs of the test is equivalent with running the test with more iterations.
Closes https://github.com/facebook/rocksdb/pull/2639

Differential Revision: D5490549

Pulled By: maysamyabandeh

fbshipit-source-id: bd69c42a9728d337ac95a06a401088384e51731a
This commit is contained in:
Maysam Yabandeh 2017-07-25 11:33:07 -07:00 committed by Facebook Github Bot
parent 277f6f23d4
commit 2b259c9d49
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ TEST_P(TransactionTest, DeadlockCycle) {
TEST_P(TransactionTest, DeadlockStress) { TEST_P(TransactionTest, DeadlockStress) {
const uint32_t NUM_TXN_THREADS = 10; const uint32_t NUM_TXN_THREADS = 10;
const uint32_t NUM_KEYS = 100; const uint32_t NUM_KEYS = 100;
const uint32_t NUM_ITERS = 100000; const uint32_t NUM_ITERS = 10000;
WriteOptions write_options; WriteOptions write_options;
ReadOptions read_options; ReadOptions read_options;