mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-18 06:00:43 +02:00
test: Disable scheduler test manythreads
It causes occasional deadlocks, resulting in false negatives in Travis. Disable the test for now. Works around #6540.
This commit is contained in:
parent
16f4a6e0fe
commit
8f0d79e3c8
@ -40,6 +40,7 @@ static void MicroSleep(uint64_t n)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* Disabled for now because there is a race condition issue in this test - see #6540 */
|
||||||
BOOST_AUTO_TEST_CASE(manythreads)
|
BOOST_AUTO_TEST_CASE(manythreads)
|
||||||
{
|
{
|
||||||
seed_insecure_rand(false);
|
seed_insecure_rand(false);
|
||||||
@ -115,5 +116,6 @@ BOOST_AUTO_TEST_CASE(manythreads)
|
|||||||
}
|
}
|
||||||
BOOST_CHECK_EQUAL(counterSum, 200);
|
BOOST_CHECK_EQUAL(counterSum, 200);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE_END()
|
BOOST_AUTO_TEST_SUITE_END()
|
||||||
|
Loading…
Reference in New Issue
Block a user