Skip to content

Commit

Permalink
wait until the server is ready
Browse files Browse the repository at this point in the history
as in easy_tests
  • Loading branch information
jschleicher committed Feb 25, 2020
1 parent 61d95ae commit cf20253
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions actionlib/test/simple_client_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ TEST(SimpleClient, easy_callback)
bool started = client.waitForServer(ros::Duration(10.0));
ASSERT_TRUE(started);

// sleep a bit to make sure that all topics are properly connected to the server.
ros::Duration(0.01).sleep();

TestGoal goal;
bool finished;

Expand Down

0 comments on commit cf20253

Please sign in to comment.