From d4106700177f7d38bb29b1dd8b9ea0824f863c6b Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Tue, 3 Sep 2024 20:52:08 -0700 Subject: [PATCH] Remove TODO for OpenSplice DDS issue. (#1354) Signed-off-by: Tomoya Fujita --- rclpy/test/test_messages.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rclpy/test/test_messages.py b/rclpy/test/test_messages.py index 43931f227..b36ac4a91 100644 --- a/rclpy/test/test_messages.py +++ b/rclpy/test/test_messages.py @@ -48,14 +48,6 @@ def test_unicode_string(self): self.node.destroy_publisher(pub) def test_different_type_raises(self): - # TODO(bmarchi): When a publisher is destroyed for opensplice, - # the topic from the previous test is kept around and is cached, so - # the new publisher can't be created because opensplice checks - # if the parameters of the created topic are the same as the one - # that has in memory. It's expected that if any participant - # is not subscribed/publishing to a topic, this is destroyed. - # Revert the topic name to 'chatter' once proper topic destruction - # for opensplice is possible. pub = self.node.create_publisher( BasicTypes, 'chatter_different_message_type', 1) with self.assertRaises(TypeError):