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

Disable flaky test #155

Merged
merged 3 commits into from
Aug 30, 2019
Merged

Disable flaky test #155

merged 3 commits into from
Aug 30, 2019

Conversation

jacobperron
Copy link
Member

Also, guard against name collisions from lingering nodes by making the
expected node, topic, and services names more verbose.

Resolves #143

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status
  • Windows (debug): Build Status (unrelated mypy error)

Also, guard against name collisions from lingering nodes by making the
expected node, topic, and services names more verbose.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@dirk-thomas
Copy link
Member

If this is flaky only on Windows why skip the test on all platforms?

@jacobperron
Copy link
Member Author

I've only noticed the test failing on Windows, but conceivably it could also fail on other platforms if other nodes are running at the same time as the test.

I can make an exception only in case of Windows if you prefer.

@dirk-thomas
Copy link
Member

Since the upstream ticket has speculation that it might only happen on Windows due to its differences in signal handling I would rather only skip it on Windows for now. We skip it on other platforms if we notice the problem there too.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

jacobperron commented Aug 29, 2019

Windows Debug: Build Status

@dirk-thomas
Copy link
Member

You could keep using a decorator: @pytest.mark.skipif(os.name == 'nt', reason=...)

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

Windows Debug: Build Status (unrelated mypy issue)

@jacobperron jacobperron merged commit c89eba4 into master Aug 30, 2019
@delete-merged-branch delete-merged-branch bot deleted the jacob/disable_flakey_test branch August 30, 2019 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_generate_policy fails on Windows
2 participants