Skip to content

Add repeat option to run untill tests fail #456

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

Conversation

LevKats
Copy link
Contributor

@LevKats LevKats commented Jul 7, 2025

Add the --repeat command line option so each test should succeed --repeat times to pass. One may think of the option as a --retries analog, but instead of assuring that each test passes at least once, we require each test to pass every time. Combining both non-trivial --retires and --repeat options values require each test to pass at least once in --retires runs --repeat times in a row.

Needed for tarantool/tarantool#6646

@LevKats LevKats self-assigned this Jul 7, 2025
@coveralls
Copy link

coveralls commented Jul 7, 2025

Coverage Status

coverage: 62.585% (+0.05%) from 62.54%
when pulling 56deae6 on LevKats:gh-tarantool-6646-workflow-catching-flaky-tests
into 5f82c70 on tarantool:master.

@locker locker removed their assignment Jul 7, 2025
@locker locker requested a review from Totktonada July 7, 2025 08:40
@Totktonada Totktonada removed their assignment Jul 8, 2025
Add the `--repeat` command line option so each test should succeed
`--repeat` times to pass. One may think of the option as a `--retries`
analog, but instead of assuring that each test passes at least once, we
require each test to pass every time. Combining both non-trivial
`--retries` and `--repeat` options values require each test to pass at
least once in `--retries` runs `--repeat` times in a row.

Needed for tarantool/tarantool#6646
@LevKats LevKats force-pushed the gh-tarantool-6646-workflow-catching-flaky-tests branch from 1f22c8f to 56deae6 Compare July 9, 2025 07:22
@locker locker merged commit aaba736 into tarantool:master Jul 9, 2025
11 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.

4 participants