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

fix wrong use of constructor and hanging test #596

Merged
merged 2 commits into from
Nov 29, 2018

Conversation

dirk-thomas
Copy link
Member

First commit: passing rclcpp::ParameterType::PARAMETER_NOT_SET to the rclcpp::ParameterValue constructor is wrong since it interprets the parameter as an integer value. This currently results in the test to print the following error message:

[ERROR] []: use_sim_time parameter set to something besides a bool

This happened in the Windows builds for an OpenSplice contribution: https://ci.ros2.org/job/ci_windows/5590/

Beside that error message the test still timed out.

Second commit: adds a call to rclcpp::shutdown() in the tests tear down function.

With these changes doesn't time out anymore and doesn't print any error message for invalid parameters anymore: https://ci.ros2.org/job/ci_windows/5596/

@dirk-thomas dirk-thomas added bug Something isn't working in review Waiting for review (Kanban column) labels Nov 29, 2018
@dirk-thomas dirk-thomas self-assigned this Nov 29, 2018
@dirk-thomas dirk-thomas merged commit 36262a5 into master Nov 29, 2018
@dirk-thomas dirk-thomas deleted the fix_wrong_use_of_constructor branch November 29, 2018 14:15
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants