Skip to content

Commit

Permalink
Refs #21357. Fix blackbox tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany committed Jul 26, 2024
1 parent 67abfac commit 694d0bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/blackbox/common/RTPSWithRegistrationReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down Expand Up @@ -518,6 +520,7 @@ class RTPSWithRegistrationReader
const std::vector<eprosima::fastdds::rtps::octet>& user_data)
{
reader_qos_.m_userData = user_data;
sub_builtin_data_.user_data = reader_qos_.m_userData;
return *this;
}

Expand All @@ -532,6 +535,7 @@ class RTPSWithRegistrationReader
std::vector<std::string>& partitions)
{
reader_qos_.m_partition.setNames(partitions);
sub_builtin_data_.partition = reader_qos_.m_partition;
return *this;
}

Expand Down
4 changes: 4 additions & 0 deletions test/blackbox/common/RTPSWithRegistrationWriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down Expand Up @@ -517,6 +519,7 @@ class RTPSWithRegistrationWriter
const std::vector<eprosima::fastdds::rtps::octet>& user_data)
{
writer_qos_.m_userData = user_data;
pub_builtin_data_.user_data = writer_qos_.m_userData;
return *this;
}

Expand All @@ -531,6 +534,7 @@ class RTPSWithRegistrationWriter
std::vector<std::string>& partitions)
{
writer_qos_.m_partition.setNames(partitions);
pub_builtin_data_.partition = writer_qos_.m_partition;
return *this;
}

Expand Down

0 comments on commit 694d0bd

Please sign in to comment.