From 418a39f6ce90b5ed4ab968f8f7d3773678478157 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 17 Jan 2025 22:09:35 +0200 Subject: [PATCH] Fixed test --- tests/test_async.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_async.cpp b/tests/test_async.cpp index 83a22976..16a31e4d 100644 --- a/tests/test_async.cpp +++ b/tests/test_async.cpp @@ -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 + 250))); + REQUIRE(as->wait_all(std::chrono::milliseconds(messages * delay + std::chrono::milliseconds(500)))); 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