Skip to content

Commit

Permalink
add the timeout for writer->wait_discovery().
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya committed Jan 8, 2025
1 parent d6fc341 commit 50762e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/blackbox/common/DDSBlackboxTestsStatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ TEST(DDSStatistics, correct_deletion_upon_delete_contained_entities)
{
writer->init();
ASSERT_TRUE(writer->isInitialized());
writer->wait_discovery();
writer->wait_discovery(std::chrono::seconds(3));
writer->send(*data, 10);
writer->destroy();
}));
Expand Down

0 comments on commit 50762e8

Please sign in to comment.