Merge 97aadf98d0 into merged_master (Bitcoin PR #16117)

This commit is contained in:
Andrew Poelstra 2020-11-26 01:07:50 +00:00
commit cc668250eb
17 changed files with 22 additions and 105 deletions

View file

@ -400,7 +400,7 @@ BOOST_AUTO_TEST_CASE(test_CheckQueueControl_Locks)
CCheckQueueControl<FakeCheck> control(queue.get());
// While sleeping, no other thread should execute to this point
auto observed = ++nThreads;
MilliSleep(10);
UninterruptibleSleep(std::chrono::milliseconds{10});
fails += observed != nThreads;
});
}