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

[Question] Can I set a threshold for sum of FlakeAttempts? #1343

Open
mateusoliveira43 opened this issue Jan 23, 2024 · 2 comments
Open

[Question] Can I set a threshold for sum of FlakeAttempts? #1343

mateusoliveira43 opened this issue Jan 23, 2024 · 2 comments

Comments

@mateusoliveira43
Copy link

I would like to have a threshold for the total time tests are retried.

Example: if I have 10 tests and set FlakeAttempts(3) to all of them, I may end up running 30 (10 * 3, 20 being retries) tests.

I would like to set a limit to the total times of retries of tests, and if that limit is reached, fail the suite. (For example, in previous example, the limit is implicit 20, but would like to configure it to 5)

Is this possible? thanks!

@onsi
Copy link
Owner

onsi commented Jan 23, 2024

hey @mateusoliveira43 - that's not possible at the moment, no. the only suite-wide limit you can impose is a time limit.

@mateusoliveira43
Copy link
Author

thanks for quick answer @onsi !

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

No branches or pull requests

2 participants