Skip to content

Commit

Permalink
Refs #22604. Improve monitor_service_advanced_multiple_late_joiners.
Browse files Browse the repository at this point in the history
Reducing announcement period to improve discovery timing.

Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany committed Feb 19, 2025
1 parent 44f0324 commit b2cd803
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/blackbox/common/DDSBlackboxTestsMonitorService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,11 @@ TEST(DDSMonitorServiceTest, monitor_service_advanced_multiple_late_joiners)
//! Procedure
std::list<MonitorServiceType::type> expected_msgs;

MSP.setup();
DomainParticipantQos pqos;
pqos.wire_protocol().builtin.discovery_config.leaseDuration_announcementperiod = {0, 250000000};
pqos.name() = "Monitor_Service_Participant";

MSP.setup(pqos);
MSP.enable_monitor_service();

DataReaderQos dr_qos;
Expand Down

0 comments on commit b2cd803

Please sign in to comment.