Skip to content

Commit

Permalink
Switch action to test to SingleThreadedExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Nov 1, 2023
1 parent 8c7fb71 commit 20d8212
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand Down

0 comments on commit 20d8212

Please sign in to comment.