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

Adds --fail-on-flaky option. #276

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Conversation

filiplajszczak
Copy link
Contributor

@filiplajszczak filiplajszczak commented Sep 21, 2024

Fails the test run with custom exit code when test passes on rerun.

Some tests are failing on pytest-main and it looks like it's due to #267 and unrelated to the PR.

Fails the test run with custom exit code when test passed on rerun.
@icemac
Copy link
Contributor

icemac commented Sep 25, 2024

Thank you for this PR. I think the feature is valuable.

I'd like to wait with a merge until #267 is fixed to be sure it does not increase the work to be done there.

@icemac icemac merged commit e9996df into pytest-dev:master Nov 5, 2024
40 checks passed
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.

2 participants