Add fault injection macros and unit tests to rcl_lifecycle#731
Merged
Add fault injection macros and unit tests to rcl_lifecycle#731
Conversation
d944fb2 to
22f5b89
Compare
6633f44 to
f9925c3
Compare
cbf2ceb to
72389f8
Compare
f9925c3 to
b0b8305
Compare
95b9d7b to
523fc90
Compare
b0b8305 to
5913420
Compare
Contributor
Author
523fc90 to
5c492ec
Compare
5913420 to
f0a6baa
Compare
5c492ec to
52b17b4
Compare
f0a6baa to
e26fb5a
Compare
52b17b4 to
931c347
Compare
e26fb5a to
b9ecd0b
Compare
fc4ac47 to
3cbe382
Compare
b9ecd0b to
d98bd5d
Compare
d98bd5d to
5f1e0ad
Compare
Contributor
Author
|
This was rebased onto master after merging #727. It depends on ros2/rmw#254. This tests this PR branch with current ros 2 branches and the |
5f1e0ad to
64fe090
Compare
Blast545
reviewed
Aug 27, 2020
64fe090 to
6d9012f
Compare
Contributor
Author
Blast545
approved these changes
Aug 28, 2020
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
6d9012f to
86ac957
Compare
Contributor
Author
|
Rebasing back on to master after merging #773 |
hidmic
reviewed
Aug 31, 2020
| RCUTILS_FAULT_INJECTION_TEST( | ||
| { | ||
| // If this in zero initialized outside of this loop, there is potential for a segfault | ||
| // when attempting to init a second time |
Contributor
There was a problem hiding this comment.
@brawner hmm, shouldn't fini take care of leaving rcl_lifecycle_state_machine_t in a known state?
Contributor
Author
There was a problem hiding this comment.
Looks like this was the case before I finalized a second time. This comment is no longer accurate. Moving zero_initialization out of this test.
Contributor
Author
Contributor
|
ARM64 CI had two flukes. Updated the badge link. Twice. |
ahcorde
pushed a commit
that referenced
this pull request
Oct 8, 2020
* Add fault injection macros and unit tests to rcl_lifecycle Signed-off-by: Stephen Brawner <brawner@gmail.com> * Address feedback Signed-off-by: Stephen Brawner <brawner@gmail.com> * PR Fixup Signed-off-by: Stephen Brawner <brawner@gmail.com>
ahcorde
pushed a commit
that referenced
this pull request
Oct 16, 2020
* Add fault injection macros and unit tests to rcl_lifecycle Signed-off-by: Stephen Brawner <brawner@gmail.com> * Address feedback Signed-off-by: Stephen Brawner <brawner@gmail.com> * PR Fixup Signed-off-by: Stephen Brawner <brawner@gmail.com>
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.
This adds fault injection macros and unit tests for rcl_lifecycle. This depends on #729. CI tests will come shortly.
Signed-off-by: Stephen Brawner brawner@gmail.com