-
Notifications
You must be signed in to change notification settings - Fork 249
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
Redesign record_services tests to make them more deterministic #1122
Redesign record_services tests to make them more deterministic #1122
Conversation
Signed-off-by: Michael Orlov <[email protected]>
Nice! |
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.
The changes seem generally reasonable to me; I particularly like the loops that wait 10 seconds, but check every 30 ms for events to happen. That should improve reliability.
I'm not going to approve because I don't really have great context on this code. What I will say is that it would be fantastic to run CI on this with --retest-until-fail 50
or something to make sure that it is truly reliable.
Gist: https://gist.githubusercontent.com/MichaelOrlov/3ebb8badcc544b55d28449b44c18210d/raw/f306bdded1820d5a60a87773389d1af1aaac99e8/ros2.repos |
Failure on Windows CI job seems unrelated
|
@clalancette Challenge accepted. 😉 Linux CI job with Re-running Windows build since it was some unrelated issues with rti_dds |
@christophebedard @gbiggs @jhdcs @emersonknapp any chance this could get approval? Need this to land to address PR feedback in #1131 |
@clalancette @emersonknapp Kindly ping for re-iterate on code review. |
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.
It seems reasonable to me. Especially since it is in test code, we can always address anything else in a follow-up. Thanks for doing the torture-tests in CI, that gives us a lot better confidence in it.
https://github.com/Mergifyio backport humble |
Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit 5f0c7d4) # Conflicts: # rosbag2_transport/test/rosbag2_transport/mock_sequential_writer.hpp # rosbag2_transport/test/rosbag2_transport/test_record_services.cpp
✅ Backports have been created
|
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.
after the fact - this looks good to me too
…1122) Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit 5f0c7d4)
…ic (#1122) Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit 5f0c7d4)
…ic (#1122) Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit 5f0c7d4)
…ic (#1122) Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit 5f0c7d4)
…ic (#1122) (#1142) Signed-off-by: Michael Orlov <[email protected]> Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit 5f0c7d4) Co-authored-by: Michael Orlov <[email protected]>
Follow up from Add SplitBagfile recording service. #1115
Redesigned record_services tests to make them deterministic.
Also reduced tests execution runtime from 2.5 sec to ~600 mSec in each test.
cc: @rshanor