-
Notifications
You must be signed in to change notification settings - Fork 255
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 for false negative tests in rosbag2_py #1592
Fix for false negative tests in rosbag2_py #1592
Conversation
MichaelOrlov
commented
Mar 19, 2024
- wait_for(condition: Callable, timout) was incorrectly returning True after the first iteration even if condition was false.
@r7vme Your help with a review here will be appreciated. |
@MichaelOrlov changes look fine. I'm looking into failed python stubs check. |
@MichaelOrlov fix for stub check #1593 |
- wait_for(condition: Callable, timout) was incorrectly returning True after the first iteration even if condition was false. Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
22d49d4
to
51f5a0c
Compare
Gist: https://gist.githubusercontent.com/MichaelOrlov/69975b6955dc0647ebf8c9be60c63d50/raw/08c1efc912afc234eaed11a82873aa35e20a7476/ros2.repos |
@clalancette @emersonknapp Could some of you additionally formally approve this PR to be able to merge it? |
Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Re-running CI after addressing additional review comments |
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.
Looks good to me! Thanks for refactoring.
https://github.com/Mergifyio backport iron humble |
✅ Backports have been created
|
* Fix for false negative tests in rosbag2_py - wait_for(condition: Callable, timout) was incorrectly returning True after the first iteration even if condition was false. Signed-off-by: Michael Orlov <michael.orlov@apex.ai> * Address review comments in regards bag_path optimization Signed-off-by: Michael Orlov <michael.orlov@apex.ai> --------- Signed-off-by: Michael Orlov <michael.orlov@apex.ai> (cherry picked from commit 66af399) # Conflicts: # rosbag2_py/test/test_transport.py
* Fix for false negative tests in rosbag2_py - wait_for(condition: Callable, timout) was incorrectly returning True after the first iteration even if condition was false. Signed-off-by: Michael Orlov <michael.orlov@apex.ai> * Address review comments in regards bag_path optimization Signed-off-by: Michael Orlov <michael.orlov@apex.ai> --------- Signed-off-by: Michael Orlov <michael.orlov@apex.ai> (cherry picked from commit 66af399) # Conflicts: # rosbag2_py/test/test_transport.py
…1689) * Fix for false negative tests in rosbag2_py (#1592) * Fix for false negative tests in rosbag2_py - wait_for(condition: Callable, timout) was incorrectly returning True after the first iteration even if condition was false. Signed-off-by: Michael Orlov <michael.orlov@apex.ai> * Address review comments in regards bag_path optimization Signed-off-by: Michael Orlov <michael.orlov@apex.ai> --------- Signed-off-by: Michael Orlov <michael.orlov@apex.ai> (cherry picked from commit 66af399) # Conflicts: # rosbag2_py/test/test_transport.py * Resolve merge conflicts Signed-off-by: Michael Orlov <michael.orlov@apex.ai> --------- Signed-off-by: Michael Orlov <michael.orlov@apex.ai> Co-authored-by: Michael Orlov <michael.orlov@apex.ai>
…1688) * Fix for false negative tests in rosbag2_py (#1592) * Fix for false negative tests in rosbag2_py - wait_for(condition: Callable, timout) was incorrectly returning True after the first iteration even if condition was false. Signed-off-by: Michael Orlov <michael.orlov@apex.ai> * Address review comments in regards bag_path optimization Signed-off-by: Michael Orlov <michael.orlov@apex.ai> --------- Signed-off-by: Michael Orlov <michael.orlov@apex.ai> (cherry picked from commit 66af399) # Conflicts: # rosbag2_py/test/test_transport.py * Resolve merge conflicts Signed-off-by: Michael Orlov <michael.orlov@apex.ai> --------- Signed-off-by: Michael Orlov <michael.orlov@apex.ai> Co-authored-by: Michael Orlov <michael.orlov@apex.ai>