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
main
Maysam Yabandeh 7 years ago committed by Facebook Github Bot
parent 277f6f23d4
commit 2b259c9d49
  1. 2
      utilities/transactions/transaction_test.cc

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

Loading…
Cancel
Save