Skip to content

Commit

Permalink
Update test_async.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime authored Jan 17, 2025
1 parent 43812dd commit 128a9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_async.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 128a9fc

Please sign in to comment.