Merge branch 'v2.x' of github.com:gabime/spdlog into v2.x

This commit is contained in:
gabime 2025-01-17 22:06:23 +02:00
commit 177f2618fb

View File

@ -331,7 +331,7 @@ TEST_CASE("wait_all", "[async]") {
REQUIRE(elapsed >= delay);
REQUIRE(elapsed < delay * 3);
// wait enough time for all messages to be processed
REQUIRE(as->wait_all(std::chrono::milliseconds(messages * delay)));
REQUIRE(as->wait_all(std::chrono::milliseconds(messages * delay + 250)));
REQUIRE(as->wait_all(std::chrono::milliseconds(-10))); // no more messages
REQUIRE(as->wait_all(std::chrono::milliseconds(0))); // no more messages
REQUIRE(as->wait_all(std::chrono::milliseconds(10))); // no more messages