From a92ba0f51f8e8b9fa287321b011d06e7d4563420 Mon Sep 17 00:00:00 2001 From: Eugenio Collado Date: Mon, 16 Dec 2024 08:06:46 +0100 Subject: [PATCH] Fix blackbox test Signed-off-by: Eugenio Collado --- test/blackbox/common/DDSBlackboxTestsListeners.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/blackbox/common/DDSBlackboxTestsListeners.cpp b/test/blackbox/common/DDSBlackboxTestsListeners.cpp index 5da5f206fd4..1ddab3ed6be 100644 --- a/test/blackbox/common/DDSBlackboxTestsListeners.cpp +++ b/test/blackbox/common/DDSBlackboxTestsListeners.cpp @@ -2982,6 +2982,9 @@ TEST(DDSStatus, sample_rejected_waitset) .disable_builtin_transport() .add_user_transport_to_pparams(testTransport) .disable_heartbeat_piggyback(true) + .asynchronously(eprosima::fastdds::dds::PublishModeQosPolicyKind::ASYNCHRONOUS_PUBLISH_MODE) + .add_flow_controller_descriptor_to_pparams( // Be sure are sent in separate submessage each DATA. + eprosima::fastdds::rtps::FlowControllerSchedulerPolicy::FIFO, 300, 300) // Be sure the first message is processed before sending the second. .init(); reader.history_kind(eprosima::fastdds::dds::KEEP_ALL_HISTORY_QOS)