From 694d0bdeb7babb8486a4142d5174d8cdc49a1851 Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Fri, 26 Jul 2024 13:00:41 +0200 Subject: [PATCH] Refs #21357. Fix blackbox tests. Signed-off-by: Miguel Company --- test/blackbox/common/RTPSWithRegistrationReader.hpp | 4 ++++ test/blackbox/common/RTPSWithRegistrationWriter.hpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/test/blackbox/common/RTPSWithRegistrationReader.hpp b/test/blackbox/common/RTPSWithRegistrationReader.hpp index f552c4929b4..c89f4709d3e 100644 --- a/test/blackbox/common/RTPSWithRegistrationReader.hpp +++ b/test/blackbox/common/RTPSWithRegistrationReader.hpp @@ -448,6 +448,7 @@ class RTPSWithRegistrationReader { reader_qos_.m_reliability.kind = eprosima::fastdds::dds::BEST_EFFORT_RELIABILITY_QOS; } + sub_builtin_data_.reliability = reader_qos_.m_reliability; return *this; } @@ -457,6 +458,7 @@ class RTPSWithRegistrationReader { reader_attr_.endpoint.durabilityKind = kind; reader_qos_.m_durability.durabilityKind(kind); + sub_builtin_data_.durability = reader_qos_.m_durability; return *this; } @@ -518,6 +520,7 @@ class RTPSWithRegistrationReader const std::vector& user_data) { reader_qos_.m_userData = user_data; + sub_builtin_data_.user_data = reader_qos_.m_userData; return *this; } @@ -532,6 +535,7 @@ class RTPSWithRegistrationReader std::vector& partitions) { reader_qos_.m_partition.setNames(partitions); + sub_builtin_data_.partition = reader_qos_.m_partition; return *this; } diff --git a/test/blackbox/common/RTPSWithRegistrationWriter.hpp b/test/blackbox/common/RTPSWithRegistrationWriter.hpp index 6ae65e9114f..289076f537f 100644 --- a/test/blackbox/common/RTPSWithRegistrationWriter.hpp +++ b/test/blackbox/common/RTPSWithRegistrationWriter.hpp @@ -393,6 +393,7 @@ class RTPSWithRegistrationWriter { writer_qos_.m_reliability.kind = eprosima::fastdds::dds::RELIABLE_RELIABILITY_QOS; } + pub_builtin_data_.reliability = writer_qos_.m_reliability; return *this; } @@ -402,6 +403,7 @@ class RTPSWithRegistrationWriter { writer_attr_.endpoint.durabilityKind = kind; writer_qos_.m_durability.durabilityKind(kind); + pub_builtin_data_.durability = writer_qos_.m_durability; return *this; } @@ -517,6 +519,7 @@ class RTPSWithRegistrationWriter const std::vector& user_data) { writer_qos_.m_userData = user_data; + pub_builtin_data_.user_data = writer_qos_.m_userData; return *this; } @@ -531,6 +534,7 @@ class RTPSWithRegistrationWriter std::vector& partitions) { writer_qos_.m_partition.setNames(partitions); + pub_builtin_data_.partition = writer_qos_.m_partition; return *this; }