Show remaining runs when using --repeat-until-failure#15270
Merged
Conversation
Member
|
@Gazler, nice call! Let's add it here:
|
Contributor
Author
|
Gah - that's what I had originally and I opted to go against it because it's not really an option that you run with.
|
Member
|
Yes, let’s go with that. :) |
The --repeat-until-failure can be very useful for finding flaky tests, however sometimes it is hard to gauge how long it has left to run before it can be considered successful. This commit adds a small output showing the number of remaining runs when the `--repeat-until-failure` flag is used. It looks like: ``` Running ExUnit with seed: 382462, max_cases: 32, remaining_runs: 3 Excluding tags: [windows: true] ....... Finished in 0.02 seconds (0.00s async, 0.02s sync) Result: 7 passed Running ExUnit with seed: 422319, max_cases: 32, remaining_runs: 2 Excluding tags: [windows: true] ....... Finished in 0.00 seconds (0.00s async, 0.00s sync) ```
e22a59d to
734f5a4
Compare
Contributor
Author
I've updated it. |
josevalim
reviewed
Apr 15, 2026
josevalim
reviewed
Apr 15, 2026
Co-authored-by: José Valim <jose.valim@gmail.com>
josevalim
reviewed
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The --repeat-until-failure can be very useful for finding flaky tests, however sometimes it is hard to gauge how long it has left to run before it can be considered successful.
This commit adds a small output showing the number of remaining runs when the
--repeat-until-failureflag is used.It looks like: