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 Nov 28, 2019
1 parent ee4a663 commit 17b64d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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 17b64d8

Please sign in to comment.