Merge pull request #1587 from podsvirov/increased-tolerance-waiting-time-for-mingw

Twice tolerance waiting time with MinGW
This commit is contained in:
Gabi Melman 2020-06-10 23:47:19 +03:00 committed by GitHub
commit 1a1ea028f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ static milliseconds millis_from(const test_clock::time_point &tp0)
TEST_CASE("dequeue-empty-nowait", "[mpmc_blocking_q]") TEST_CASE("dequeue-empty-nowait", "[mpmc_blocking_q]")
{ {
size_t q_size = 100; size_t q_size = 100;
milliseconds tolerance_wait(10); milliseconds tolerance_wait(20);
spdlog::details::mpmc_blocking_queue<int> q(q_size); spdlog::details::mpmc_blocking_queue<int> q(q_size);
int popped_item = 0; int popped_item = 0;