Skip to content
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

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented Jul 15, 2020

@dirk-thomas dirk-thomas added the bug Something isn't working label Jul 15, 2020
@dirk-thomas dirk-thomas self-assigned this Jul 15, 2020
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'
Copy link
Member Author

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.

Copy link
Collaborator

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes look clear to me. Waiting on CI to see that no regression got introduced on other platforms:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@dirk-thomas dirk-thomas merged commit a67ed49 into master Jul 15, 2020
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/use-one-temp-dir-for-test-class branch July 15, 2020 22:09
@emersonknapp
Copy link
Collaborator

thanks for the fix!

dirk-thomas added a commit that referenced this pull request Jul 16, 2020
@dirk-thomas
Copy link
Member Author

This only made the test less flaky on Windows. There is still a race - see #466.

emersonknapp pushed a commit that referenced this pull request Feb 2, 2021
emersonknapp pushed a commit that referenced this pull request Feb 17, 2021
MichaelOrlov pushed a commit that referenced this pull request May 25, 2023
- 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 <[email protected]>
MichaelOrlov pushed a commit that referenced this pull request May 25, 2023
- 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]>
MichaelOrlov pushed a commit that referenced this pull request May 25, 2023
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ros2bag QOS test uses several sleeps on windows
3 participants