From 63105cd8a6edb6906efa71c7cf56cd56d0bccdda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Mon, 23 Sep 2024 20:19:04 +0200 Subject: [PATCH] Skip rmw zenoh content filtering tests (#2627) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- .../rclcpp/test_subscription_content_filter.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/rclcpp/test/rclcpp/test_subscription_content_filter.cpp b/rclcpp/test/rclcpp/test_subscription_content_filter.cpp index 4b8baf4a24..95a1874d4e 100644 --- a/rclcpp/test/rclcpp/test_subscription_content_filter.cpp +++ b/rclcpp/test/rclcpp/test_subscription_content_filter.cpp @@ -175,6 +175,11 @@ TEST_F(TestContentFilterSubscription, set_content_filter) TEST_F(TestContentFilterSubscription, content_filter_get_begin) { + std::string rmw_implementation_str = std::string(rmw_get_implementation_identifier()); + if (rmw_implementation_str == "rmw_zenoh_cpp") { + GTEST_SKIP(); + } + using namespace std::chrono_literals; { test_msgs::msg::BasicTypes msg; @@ -218,6 +223,11 @@ TEST_F(TestContentFilterSubscription, content_filter_get_begin) TEST_F(TestContentFilterSubscription, content_filter_get_later) { + std::string rmw_implementation_str = std::string(rmw_get_implementation_identifier()); + if (rmw_implementation_str == "rmw_zenoh_cpp") { + GTEST_SKIP(); + } + using namespace std::chrono_literals; { test_msgs::msg::BasicTypes msg; @@ -266,6 +276,11 @@ TEST_F(TestContentFilterSubscription, content_filter_get_later) TEST_F(TestContentFilterSubscription, content_filter_reset) { + std::string rmw_implementation_str = std::string(rmw_get_implementation_identifier()); + if (rmw_implementation_str == "rmw_zenoh_cpp") { + GTEST_SKIP(); + } + using namespace std::chrono_literals; { test_msgs::msg::BasicTypes msg;