Skip to content

Commit

Permalink
robustify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Sep 13, 2024
1 parent 060e907 commit bf05c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_async_function_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ TEST_F(AsyncFunctionHandlerTest, check_exception_handling)
ASSERT_TRUE(async_class.get_handler().is_initialized());
ASSERT_TRUE(async_class.get_handler().is_running());
ASSERT_FALSE(async_class.get_handler().is_stopped());
async_class.get_handler().wait_for_trigger_cycle_to_finish();
ASSERT_LE(async_class.get_counter(), std::numeric_limits<int>::max());

std::this_thread::sleep_for(std::chrono::microseconds(10));
Expand Down

0 comments on commit bf05c0b

Please sign in to comment.