aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-12-01 14:43:38 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-12-01 14:43:38 +0100
commit8f0d79e3c873d5f4942009b9b5bfe867104ed3e6 (patch)
tree696346e333ec20d3beadbafbfb61ca1169af2a03
parent16f4a6e0fe267e38d14f887e124ee9ca8894267a (diff)
test: Disable scheduler test manythreads
It causes occasional deadlocks, resulting in false negatives in Travis. Disable the test for now. Works around #6540.
-rw-r--r--src/test/scheduler_tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/scheduler_tests.cpp b/src/test/scheduler_tests.cpp
index cb1a427db0..fc07aa72c1 100644
--- a/src/test/scheduler_tests.cpp
+++ b/src/test/scheduler_tests.cpp
@@ -40,6 +40,7 @@ static void MicroSleep(uint64_t n)
#endif
}
+#if 0 /* Disabled for now because there is a race condition issue in this test - see #6540 */
BOOST_AUTO_TEST_CASE(manythreads)
{
seed_insecure_rand(false);
@@ -115,5 +116,6 @@ BOOST_AUTO_TEST_CASE(manythreads)
}
BOOST_CHECK_EQUAL(counterSum, 200);
}
+#endif
BOOST_AUTO_TEST_SUITE_END()