Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use wait_for_service to make examples less flaky #110

Merged
merged 10 commits into from
Jun 23, 2016
Merged

Conversation

wjwwood
Copy link
Member

@wjwwood wjwwood commented Jun 9, 2016

Connects to ros2/ros2#215

@wjwwood wjwwood added the in progress Actively being worked on (Kanban column) label Jun 9, 2016
@wjwwood wjwwood added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jun 15, 2016
foreach(example_test ${example_tests})
set(example_tests_to_test ${example_tests})
# TODO(wjwwood): recombine with example_tests this when fastrtps supports wait_for_service.
if("${rmw_implementation} " STREQUAL "rmw_fastrtps_cpp ")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are using CMake 3.5 now please avoid the trailing spaces as well as the quotes and explicit variable expansion if the variable is know to exist:

if(rmw_implementation STREQUAL "rmw_fastrtps_cpp")

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dirk-thomas
Copy link
Member

Beside the comment +1

@wjwwood wjwwood merged commit b22dda0 into master Jun 23, 2016
@wjwwood wjwwood deleted the wait_for_service2 branch June 23, 2016 03:20
@wjwwood wjwwood removed the in review Waiting for review (Kanban column) label Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants