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

tests: Improve flaky python test handling #6654

Merged
merged 1 commit into from
Sep 19, 2020

Conversation

theopolis
Copy link
Member

I notice that some python tests are flaky and that we try to handle this by running them multiple times, expecting a single success. This flaky test handler does not reset the state of the test so tests that fail once are prone to fail again.

This aims to reset some of the state by running the setUp method again.

@theopolis theopolis added flaky test A unit test that sometimes or on some systems does not return success, when it should test labels Sep 17, 2020
@theopolis theopolis merged commit 6a34c95 into osquery:master Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky test A unit test that sometimes or on some systems does not return success, when it should test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants