Skip to content

Commit 6bbe229

Browse files
dirk-thomasahcorde
authored andcommitted
increase timeouts in test_services fixtures for Connext (#745)
Signed-off-by: Dirk Thomas <[email protected]>
1 parent 90ce16d commit 6bbe229

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rcl/test/rcl/client_fixture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ int main(int argc, char ** argv)
9999
});
100100

101101
// Wait until server is available
102-
if (!wait_for_server_to_be_available(&node, &client, 10, 100)) {
102+
if (!wait_for_server_to_be_available(&node, &client, 30, 100)) {
103103
RCUTILS_LOG_ERROR_NAMED(ROS_PACKAGE_NAME, "Server never became available");
104104
return -1;
105105
}
@@ -134,7 +134,7 @@ int main(int argc, char ** argv)
134134
memset(&client_response, 0, sizeof(test_msgs__srv__BasicTypes_Response));
135135
test_msgs__srv__BasicTypes_Response__init(&client_response);
136136

137-
if (!wait_for_client_to_be_ready(&client, &context, 10, 100)) {
137+
if (!wait_for_client_to_be_ready(&client, &context, 30, 100)) {
138138
RCUTILS_LOG_ERROR_NAMED(ROS_PACKAGE_NAME, "Client never became ready");
139139
return -1;
140140
}

rcl/test/rcl/service_fixture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ int main(int argc, char ** argv)
116116

117117
// Block until a client request comes in.
118118

119-
if (!wait_for_service_to_be_ready(&service, &context, 10, 100)) {
119+
if (!wait_for_service_to_be_ready(&service, &context, 30, 100)) {
120120
RCUTILS_LOG_ERROR_NAMED(ROS_PACKAGE_NAME, "Service never became ready");
121121
return -1;
122122
}

0 commit comments

Comments
 (0)