diff --git a/rcl/test/rcl/client_fixture.cpp b/rcl/test/rcl/client_fixture.cpp index c6d035a9c..b6c607af2 100644 --- a/rcl/test/rcl/client_fixture.cpp +++ b/rcl/test/rcl/client_fixture.cpp @@ -94,7 +94,7 @@ int main(int argc, char ** argv) }); // Wait until server is available - if (!wait_for_server_to_be_available(&node, &client, 10, 100)) { + if (!wait_for_server_to_be_available(&node, &client, 30, 100)) { RCUTILS_LOG_ERROR_NAMED(ROS_PACKAGE_NAME, "Server never became available"); return -1; } @@ -129,7 +129,7 @@ int main(int argc, char ** argv) memset(&client_response, 0, sizeof(test_msgs__srv__BasicTypes_Response)); test_msgs__srv__BasicTypes_Response__init(&client_response); - if (!wait_for_client_to_be_ready(&client, &context, 10, 100)) { + if (!wait_for_client_to_be_ready(&client, &context, 30, 100)) { RCUTILS_LOG_ERROR_NAMED(ROS_PACKAGE_NAME, "Client never became ready"); return -1; } diff --git a/rcl/test/rcl/service_fixture.cpp b/rcl/test/rcl/service_fixture.cpp index 0dc7fdcd8..7825da806 100644 --- a/rcl/test/rcl/service_fixture.cpp +++ b/rcl/test/rcl/service_fixture.cpp @@ -111,7 +111,7 @@ int main(int argc, char ** argv) // Block until a client request comes in. - if (!wait_for_service_to_be_ready(&service, &context, 10, 100)) { + if (!wait_for_service_to_be_ready(&service, &context, 30, 100)) { RCUTILS_LOG_ERROR_NAMED(ROS_PACKAGE_NAME, "Service never became ready"); return -1; }