Skip to content

Commit

Permalink
increase run_for duration in cancellation tests
Browse files Browse the repository at this point in the history
Reviewers: ljudevit

Reviewed By: ljudevit

Subscribers: korina

Differential Revision: https://repo.mireo.local/D27476
  • Loading branch information
biljazovic committed Jan 19, 2024
1 parent 656e5c5 commit 28bf239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/cancellation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void run_cancel_op_test() {
});


ioc.run_for(20ms);
ioc.run_for(std::chrono::seconds(1));
BOOST_CHECK_EQUAL(handlers_called, expected_handlers_called);
}

Expand Down Expand Up @@ -280,7 +280,7 @@ BOOST_AUTO_TEST_CASE(signal_emit_async_run_cancels_client) {
signal.emit(asio::cancellation_type::terminal);
});

ioc.run_for(std::chrono::milliseconds(20));
ioc.run_for(std::chrono::seconds(1));
BOOST_CHECK_EQUAL(handlers_called, expected_handlers_called);
}

Expand Down

0 comments on commit 28bf239

Please sign in to comment.