-
Notifications
You must be signed in to change notification settings - Fork 261
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
use a single temp dir for the test class #462
use a single temp dir for the test class #462
Conversation
Signed-off-by: Dirk Thomas <[email protected]>
r"ros2 bag record: error: argument --qos-profile-overrides-path: can't open") | ||
matches = expected_string_regex.search(bag_command.output) | ||
assert matches, print('ros2bag CLI did not produce the expected output') | ||
output_path = Path(self.tmpdir.name) / 'ros2bag_test_nonexistent' |
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.
Here I changed the name of the subdirectory which wasn't unique and looked like a copy-n-paste mistake.
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.
thanks for the fix! |
This reverts commit a67ed49.
This only made the test less flaky on Windows. There is still a race - see #466. |
Signed-off-by: Dirk Thomas <[email protected]>
Signed-off-by: Dirk Thomas <[email protected]>
* Fix for CI regression in TestRos2BagRecord - Replace get_actual_qos() to the qos_profile() as it was before #1335 For some reason on Foxy it doesn't work as expected. Probably due to the missing some underlying dependencies in other core packages. Signed-off-by: Michael Orlov <[email protected]> * Revert "Fix for CI regression in TestRos2BagRecord" This reverts commit f50f46a. Signed-off-by: Michael Orlov <[email protected]> * Skip test_record_qos_profiles on Windows since they are flaky - test_record_qos_profiles failures is a known issue described in the #454 - To fix those tests need to backport #462, #466, #470, #472, #525 - Skipping them for a while Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]>
Fixes #454: https://ci.ros2.org/view/nightly/job/nightly_win_rel/1613/testReport/ros2bag.test/test_record_qos_profiles/test_record_qos_profiles/
The diff ignoring whitespace changes is much easier to read: https://github.com/ros2/rosbag2/pull/462/files?w=1