File tree 1 file changed +3
-3
lines changed
rosbridge_library/test/capabilities
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
import rclpy
8
8
from action_msgs .msg import GoalStatus
9
9
from example_interfaces .action ._fibonacci import Fibonacci_FeedbackMessage
10
- from rclpy .executors import MultiThreadedExecutor
10
+ from rclpy .executors import SingleThreadedExecutor
11
11
from rclpy .node import Node
12
12
from rclpy .qos import DurabilityPolicy , QoSProfile , ReliabilityPolicy
13
13
from rosbridge_library .capabilities .action_feedback import ActionFeedback
25
25
class TestActionCapabilities (unittest .TestCase ):
26
26
def setUp (self ):
27
27
rclpy .init ()
28
- self .executor = MultiThreadedExecutor ()
28
+ self .executor = SingleThreadedExecutor ()
29
29
self .node = Node ("test_action_capabilities" )
30
30
self .executor .add_node (self .node )
31
31
32
32
self .node .declare_parameter ("call_services_in_new_thread" , False )
33
- self .node .declare_parameter ("send_action_goals_in_new_thread" , False )
33
+ self .node .declare_parameter ("send_action_goals_in_new_thread" , True )
34
34
35
35
self .proto = Protocol (self ._testMethodName , self .node )
36
36
# change the log function so we can verify errors are logged
You can’t perform that action at this time.
0 commit comments