From 2b259c9d496af4c2a48a6664d9df32010f594264 Mon Sep 17 00:00:00 2001 From: Maysam Yabandeh Date: Tue, 25 Jul 2017 11:33:07 -0700 Subject: [PATCH] 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 --- utilities/transactions/transaction_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/transactions/transaction_test.cc b/utilities/transactions/transaction_test.cc index ce01388f8a..148f1c41c2 100644 --- a/utilities/transactions/transaction_test.cc +++ b/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;