Skip to content

Commit

Permalink
Skipping get_info_by_topic test for implementations other than rmw_fa…
Browse files Browse the repository at this point in the history
…strtps_cpp

Signed-off-by: Jaison Titus <jaisontj92@gmail.com>
  • Loading branch information
jaisontj committed Nov 19, 2019
1 parent 1ada980 commit c17c401
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rclpy/test/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c17c401

Please sign in to comment.