-
Notifications
You must be signed in to change notification settings - Fork 290
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 potentially flaky integration component test case #848
Conversation
Signed-off-by: Ashton Larkin <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo3 #848 +/- ##
================================================
+ Coverage 65.71% 77.98% +12.27%
================================================
Files 127 216 +89
Lines 6238 12131 +5893
================================================
+ Hits 4099 9460 +5361
- Misses 2139 2671 +532
Continue to review full report at Codecov.
|
out of curiosity, what console output do you see from a failure of this test? |
Sometimes, I will see this:
If you look at the code I am changing, before this PR, I am just comparing a deserialized default-constructed |
your change looks right to me, but I wanted to understand why it wasn't always failing. I think it's because the logical_audio::Microphone == operator only compares the |
Signed-off-by: Ashton Larkin <[email protected]>
Yeah, that's a good point! I also think an issue here was that Regarding the comment about the Anyways, I think that it's still good to check the values of the
@scpeters, does this look good to you? |
@osrf-jenkins retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sneaky
🦟 Bug fix
Summary
I noticed that the components integration test fails at times for me locally. I found that for the
LogicalMicrophone
component test I wrote last year, I forgot to initialize one of the streams with the relevant data 🙃 I believe that this should make the test pass consistently now.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge