def setUp(self): global count rospy.init_node("test", anonymous=True) self.action_server = TimerActionServer( TestMultiGoalActionClient.ACTION_SERVER_NAME + "_" + str(count)) self.action_server.start_server() self.client = MultiGoalActionClient( TestMultiGoalActionClient.ACTION_SERVER_NAME + "_" + str(count), TimerAction) self.client.wait_for_server() count += 1