Repository navigation
Call rclcpp::init and rclcpp::shutdown in each test for test_rclcpp - #454
Merged
Merged
Conversation
Signed-off-by: Stephen Brawner <[email protected]>
clalancette
reviewed
Dec 1, 2020
clalancette
left a comment
Contributor
There was a problem hiding this comment.
I've got some questions inline. Also, the Rpr job is unhappy for some reason.
Signed-off-by: Stephen Brawner <[email protected]>
brawner
force-pushed
the
brawner/fix-tests
branch
from
December 1, 2020 20:33
29eda28 to
4770f4f
Compare
brawner
commented
Dec 1, 2020
brawner
left a comment
Contributor
Author
There was a problem hiding this comment.
Sorry about the messy second commit. I didn't fully vet the first commit before pushing because it was taking eons to run and test on windows.
Contributor
Author
clalancette
approved these changes
Dec 1, 2020
Signed-off-by: Stephen Brawner <[email protected]>
Contributor
Author
|
I discovered that the Windows is unstable because of one cmake warning in fastcdr, but the tests otherwise pass. |
|
@Mergifyio backport foxy |
mergify Bot
pushed a commit
that referenced
this pull request
Jan 20, 2022
…454) * Fix test_rclcpp system tests Signed-off-by: Stephen Brawner <[email protected]> * Cleanup Signed-off-by: Stephen Brawner <[email protected]> * Add comment about test failure Signed-off-by: Stephen Brawner <[email protected]> (cherry picked from commit 1c69aa0)
✅ Backports have been createdDetails
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We're seeing many hangs on windows CI jobs in these tests, and I think the issue can be resolved by ensuring that
rclcpp::shutdowngets called for each invocation ofrclcpp::init. In the process of addressing this, I noticed that the test_remote_parameters wasn't setting up the test cases correctly for each rmw_implementation.There may be some uncrustify issues to cleanup.
Testing
--packages-select test_rclcppSigned-off-by: Stephen Brawner [email protected]