From 20d82126cf1842ba051c46139d61de12c70d7577 Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Wed, 1 Nov 2023 12:26:40 -0400 Subject: [PATCH] Switch action to test to SingleThreadedExecutor --- .../test/capabilities/test_action_capabilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rosbridge_library/test/capabilities/test_action_capabilities.py b/rosbridge_library/test/capabilities/test_action_capabilities.py index bc51bf65e..8894fd2e8 100755 --- a/rosbridge_library/test/capabilities/test_action_capabilities.py +++ b/rosbridge_library/test/capabilities/test_action_capabilities.py @@ -6,7 +6,7 @@ import rclpy from example_interfaces.action._fibonacci import Fibonacci_FeedbackMessage -from rclpy.executors import MultiThreadedExecutor +from rclpy.executors import SingleThreadedExecutor from rclpy.node import Node from rclpy.qos import DurabilityPolicy, QoSProfile, ReliabilityPolicy from rosbridge_library.capabilities.action_feedback import ActionFeedback @@ -24,7 +24,7 @@ class TestActionCapabilities(unittest.TestCase): def setUp(self): rclpy.init() - self.executor = MultiThreadedExecutor(num_threads=2) + self.executor = SingleThreadedExecutor() self.node = Node("test_action_capabilities") self.executor.add_node(self.node)