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

Add --loop flag to integration tests #4592

Merged
merged 2 commits into from
Nov 28, 2022
Merged

Conversation

pbiggar
Copy link
Member

@pbiggar pbiggar commented Nov 9, 2022

Changelog:

Internal
- allow integration tests to loop

By looping the integration tests with --loop, we can find flaky tests. Often it takes 4-15 loops to find a flaky one. It's also really useful to combine with --pattern, to debug one test that you know if flaky

@StachuDotNet
Copy link
Member

This is a bit nitpicky, but could we have LOOP=0 be the default, with 1 indicating "this should loop"?

@pbiggar
Copy link
Member Author

pbiggar commented Nov 12, 2022

This is a bit nitpicky, but could we have LOOP=0 be the default, with 1 indicating "this should loop"?

Ah, I can see why you ask, but alas 0 is true in bash 🤦‍♂️

@StachuDotNet
Copy link
Member

Ah, I see - confusing!

@pbiggar pbiggar merged commit e35c25e into main Nov 28, 2022
@pbiggar pbiggar deleted the paul/loop-integration-tests branch November 28, 2022 15:28
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.

None yet

2 participants