Unverified Commit 10578ff0 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update test_mpmc_q.cpp

parent 1f0513cf
...@@ -29,7 +29,7 @@ TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]") ...@@ -29,7 +29,7 @@ TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]")
size_t q_size = 100; size_t q_size = 100;
milliseconds wait_ms(250); milliseconds wait_ms(250);
milliseconds tolerance_wait(50); milliseconds tolerance_wait(250);
spdlog::details::mpmc_blocking_queue<int> q(q_size); spdlog::details::mpmc_blocking_queue<int> q(q_size);
int popped_item; int popped_item;
...@@ -104,4 +104,4 @@ TEST_CASE("full_queue", "[mpmc_blocking_q]") ...@@ -104,4 +104,4 @@ TEST_CASE("full_queue", "[mpmc_blocking_q]")
int item = -1; int item = -1;
q.dequeue_for(item, milliseconds(0)); q.dequeue_for(item, milliseconds(0));
REQUIRE(item == 123456); REQUIRE(item == 123456);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment