Skip to content

ci: Add rerun failures package for flaky tests #728

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CagriYonca
Copy link
Contributor

I'm taking the initiative and proposing the pytest-rerunfailures package for flaky tests. Only thing we should do is to add the line just before flaky tests:

    @pytest.mark.flaky(reruns=3, reruns_delay=2)   <-- ONLY THIS
    def test_flaky_test(self):
        ...

@CagriYonca CagriYonca added Do not merge Depends on another PR ci/cd labels May 7, 2025
@CagriYonca CagriYonca self-assigned this May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Do not merge Depends on another PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant