From c17c4013efe6e3eab32eef4505596c0cd529393e Mon Sep 17 00:00:00 2001 From: Jaison Titus Date: Tue, 19 Nov 2019 13:15:58 -0800 Subject: [PATCH] Skipping get_info_by_topic test for implementations other than rmw_fastrtps_cpp Signed-off-by: Jaison Titus --- rclpy/test/test_node.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rclpy/test/test_node.py b/rclpy/test/test_node.py index 3403d9016..e38610703 100644 --- a/rclpy/test/test_node.py +++ b/rclpy/test/test_node.py @@ -42,6 +42,7 @@ from rclpy.qos import QoSProfile from rclpy.qos import QoSReliabilityPolicy from rclpy.time_source import USE_SIM_TIME_NAME +from rclpy.utilities import get_rmw_implementation_identifier from test_msgs.msg import BasicTypes TEST_NODE = 'my_node' @@ -193,6 +194,8 @@ def assert_qos_equal(self, qos_profile, qos_dict): qos_dict['liveliness_lease_duration'], 'liveliness_lease_duration is unequal') + @unittest.skipIf(get_rmw_implementation_identifier() != 'rmw_fastrtps_cpp', + 'Implementation is not supported') def test_get_publishers_subscriptions_info_by_topic(self): topic_name = 'test_topic_info' fq_topic_name = '{namespace}/{name}'.format(namespace=TEST_NAMESPACE, name=topic_name)