Skip to content

Commit b2cd803

Browse files
committed
Refs #22604. Improve monitor_service_advanced_multiple_late_joiners.
Reducing announcement period to improve discovery timing. Signed-off-by: Miguel Company <[email protected]>
1 parent 44f0324 commit b2cd803

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/blackbox/common/DDSBlackboxTestsMonitorService.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -2413,7 +2413,11 @@ TEST(DDSMonitorServiceTest, monitor_service_advanced_multiple_late_joiners)
24132413
//! Procedure
24142414
std::list<MonitorServiceType::type> expected_msgs;
24152415

2416-
MSP.setup();
2416+
DomainParticipantQos pqos;
2417+
pqos.wire_protocol().builtin.discovery_config.leaseDuration_announcementperiod = {0, 250000000};
2418+
pqos.name() = "Monitor_Service_Participant";
2419+
2420+
MSP.setup(pqos);
24172421
MSP.enable_monitor_service();
24182422

24192423
DataReaderQos dr_qos;

0 commit comments

Comments
 (0)