mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Update test_mpmc_q.cpp
This commit is contained in:
parent
1f0513cf4e
commit
10578ff08c
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user