Skip to content

Commit

Permalink
Add missing shutdown (#695)
Browse files Browse the repository at this point in the history
(cherry picked from commit d6383fc)

# Conflicts:
#	example_11/test/test_carlikebot_launch.py
  • Loading branch information
christophfroehlich authored and mergify[bot] committed Jan 22, 2025
1 parent 14c479c commit aacf0aa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions example_11/test/test_carlikebot_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ def test_check_if_msgs_published(self):
],
)

<<<<<<< HEAD
=======
def test_remapped_topic(self):
# we don't want to implement a tf lookup here
# so just check if the unmapped topic is not published
old_topic = "/bicycle_steering_controller/tf_odometry"
wait_for_topics = WaitForTopics([(old_topic, TFMessage)])
assert not wait_for_topics.wait(), f"Topic '{old_topic}' found, but should be remapped!"
wait_for_topics.shutdown()

>>>>>>> d6383fc (Add missing shutdown (#695))

# TODO(anyone): enable this if shutdown of ros2_control_node does not fail anymore
# @launch_testing.post_shutdown_test()
Expand Down

0 comments on commit aacf0aa

Please sign in to comment.