From 92c93c3d90c4d2b18ac2bfbf42f6adbb670df486 Mon Sep 17 00:00:00 2001 From: Juanjo Garcia Date: Wed, 29 Jan 2025 08:40:45 +0100 Subject: [PATCH] Refs #22658: corrected failing CI Signed-off-by: Juanjo Garcia --- test/blackbox/api/dds-pim/PubSubWriter.hpp | 3 ++- test/blackbox/common/DDSBlackboxTestsListeners.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/blackbox/api/dds-pim/PubSubWriter.hpp b/test/blackbox/api/dds-pim/PubSubWriter.hpp index 218b0f67ace..7f6726f9dee 100644 --- a/test/blackbox/api/dds-pim/PubSubWriter.hpp +++ b/test/blackbox/api/dds-pim/PubSubWriter.hpp @@ -893,7 +893,8 @@ class PubSubWriter } PubSubWriter& reliability( - const eprosima::fastdds::dds::ReliabilityQosPolicyKind kind, int max_blocking_time) + const eprosima::fastdds::dds::ReliabilityQosPolicyKind kind, + int max_blocking_time) { datawriter_qos_.reliability().kind = kind; datawriter_qos_.reliability().max_blocking_time.seconds = max_blocking_time; diff --git a/test/blackbox/common/DDSBlackboxTestsListeners.cpp b/test/blackbox/common/DDSBlackboxTestsListeners.cpp index 59ec830573e..e853f61505c 100644 --- a/test/blackbox/common/DDSBlackboxTestsListeners.cpp +++ b/test/blackbox/common/DDSBlackboxTestsListeners.cpp @@ -3439,7 +3439,7 @@ TEST(DDSStatus, keyed_reliable_positive_acks_disabled_on_unack_sample_removed) /*! * Regression Test for 22658: when he entire history is acked in volatile, given that the entries are deleted from the * history, check_acked_status satisfies min_low_mark >= get_seq_num_min() because seq_num_min is unknown. This makes - * try_remove to fail, because it tries to remove changes but there were none. This causes prepare_change to not + * try_remove to fail, because it tries to remove changes but there were none. This causes prepare_change to not * perform the changes, since the history was full and could not delete any changes. */ @@ -3467,7 +3467,6 @@ TEST(DDSStatus, entire_history_acked_volatile_unknown_pointer) reader.wait_discovery(); auto data = default_helloworld_data_generator(2); - for (auto sample : data) { EXPECT_TRUE(writer.send_sample(sample));