Skip to content

Commit c3c3ab9

Browse files
committed
Refs #22937: Adjust discovery to the expectation
Signed-off-by: Mario Dominguez <[email protected]>
1 parent 16fedc8 commit c3c3ab9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/blackbox/common/DDSBlackboxTestsListeners.cpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -3603,11 +3603,12 @@ TEST(DDSStatus, several_writers_on_unack_sample_removed)
36033603
.init();
36043604
ASSERT_TRUE(ack_disabled_writer.isInitialized());
36053605

3606-
best_effort_writer.wait_discovery();
3607-
reliable_writer.wait_discovery();
3608-
ack_disabled_writer.wait_discovery();
3609-
best_effort_reader.wait_discovery();
3610-
reliable_reader.wait_discovery();
3606+
// The only non matching case is the best effort writer with the reliable reader
3607+
best_effort_writer.wait_discovery(1u, std::chrono::seconds::zero());
3608+
reliable_writer.wait_discovery(2u, std::chrono::seconds::zero());
3609+
ack_disabled_writer.wait_discovery(2u, std::chrono::seconds::zero());
3610+
best_effort_reader.wait_discovery(std::chrono::seconds::zero(), 3u);
3611+
reliable_reader.wait_discovery(std::chrono::seconds::zero(), 2u);
36113612

36123613
auto best_effort_data = default_helloworld_data_generator();
36133614
auto reliable_data = best_effort_data;

0 commit comments

Comments
 (0)