diff --git a/tests/test_async.cpp b/tests/test_async.cpp index 6ff82ee36..9dcc721a1 100644 --- a/tests/test_async.cpp +++ b/tests/test_async.cpp @@ -329,7 +329,7 @@ TEST_CASE("wait_all", "[async]") { // should have waited approx 10ms before giving up auto elapsed = std::chrono::steady_clock::now() - start; REQUIRE(elapsed >= delay); - REQUIRE(elapsed < delay * 6); // to pass tests in slow virtual machines + REQUIRE(elapsed < delay * 6); // big tolerance, to pass tests in slow virtual machines // wait enough time for all messages to be processed REQUIRE(as->wait_all(messages * delay + 500ms)); REQUIRE(as->wait_all(-10ms)); // no more messages