Skip to content

Disable flaky test#155

Merged
jacobperron merged 3 commits intomasterfrom
jacob/disable_flakey_test
Aug 30, 2019
Merged

Disable flaky test#155
jacobperron merged 3 commits intomasterfrom
jacob/disable_flakey_test

Conversation

@jacobperron
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@jacobperron
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

jacobperron commented Aug 29, 2019

Windows Debug: Build Status

@dirk-thomas
Copy link
Copy Markdown
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
Copy Markdown
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