Update test_mpmc_q.cpp

This commit is contained in:
Gabi Melman 2019-09-21 15:49:54 +03:00 committed by GitHub
parent 1f0513cf4e
commit 10578ff08c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]")
size_t q_size = 100;
milliseconds wait_ms(250);
milliseconds tolerance_wait(50);
milliseconds tolerance_wait(250);
spdlog::details::mpmc_blocking_queue<int> q(q_size);
int popped_item;
@ -104,4 +104,4 @@ TEST_CASE("full_queue", "[mpmc_blocking_q]")
int item = -1;
q.dequeue_for(item, milliseconds(0));
REQUIRE(item == 123456);
}
}