Skip to content

Commit a9c6521

Browse files
authored
Restore test exception for Connext (ros2#1625)
Signed-off-by: Andrea Sorbini <[email protected]>
1 parent 41fedb7 commit a9c6521

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rclcpp/test/rclcpp/strategies/test_allocator_memory_strategy.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,10 @@ TEST_F(TestAllocatorMemoryStrategy, number_of_entities_with_subscription) {
511511
RclWaitSetSizes expected_sizes = {};
512512
expected_sizes.size_of_subscriptions = 1;
513513
const std::string implementation_identifier = rmw_get_implementation_identifier();
514-
if (implementation_identifier == "rmw_cyclonedds_cpp") {
515-
// For cyclonedds, a subscription will also add an event and waitable
514+
if (implementation_identifier == "rmw_cyclonedds_cpp" ||
515+
implementation_identifier == "rmw_connextdds")
516+
{
517+
// For cyclonedds and connext, a subscription will also add an event and waitable
516518
expected_sizes.size_of_events += 1;
517519
expected_sizes.size_of_waitables += 1;
518520
}

0 commit comments

Comments
 (0)