Skip to content

Commit

Permalink
Revert "wait for longer for server"
Browse files Browse the repository at this point in the history
This reverts commit 75fec60.
  • Loading branch information
jschleicher committed Feb 28, 2020
1 parent 94367db commit a48f586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions actionlib/test/exercise_simple_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ class SimpleClientFixture : public testing::Test
{
// Make sure that the server comes up
ASSERT_TRUE(ac_.waitForServer(ros::Duration(10.0)) );
// sleep a bit to make sure that all topics are properly connected to the server.
ros::Duration(0.01).sleep();
}

SimpleActionClient<TestRequestAction> ac_;
Expand Down
4 changes: 2 additions & 2 deletions actionlib/test/mock_simple_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, name):
self.start()

def execute_cb(self, goal):
rospy.logdebug("Goal:\n" + str(goal))
rospy.loginfo("Goal:\n" + str(goal))
result = TestRequestResult(goal.the_result, True)

if goal.pause_status > rospy.Duration(0.0):
Expand All @@ -62,7 +62,7 @@ def execute_cb(self, goal):
self.set_preempted(result, goal.result_text)
return

rospy.logdebug("Terminating goal as: %i" % goal.terminate_status)
rospy.loginfo("Terminating goal as: %i" % goal.terminate_status)

if goal.terminate_status == TestRequestGoal.TERMINATE_SUCCESS:
self.set_succeeded(result, goal.result_text)
Expand Down

0 comments on commit a48f586

Please sign in to comment.