Skip to content

Commit 8f0d79e

Browse files
committed
test: Disable scheduler test manythreads
It causes occasional deadlocks, resulting in false negatives in Travis. Disable the test for now. Works around #6540.
1 parent 16f4a6e commit 8f0d79e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/scheduler_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ static void MicroSleep(uint64_t n)
4040
#endif
4141
}
4242

43+
#if 0 /* Disabled for now because there is a race condition issue in this test - see #6540 */
4344
BOOST_AUTO_TEST_CASE(manythreads)
4445
{
4546
seed_insecure_rand(false);
@@ -115,5 +116,6 @@ BOOST_AUTO_TEST_CASE(manythreads)
115116
}
116117
BOOST_CHECK_EQUAL(counterSum, 200);
117118
}
119+
#endif
118120

119121
BOOST_AUTO_TEST_SUITE_END()

0 commit comments

Comments
 (0)