Created
November 6, 2018 01:10
-
-
Save mccurdyc/5b39f971a122544e02e1e21c639a1e67 to your computer and use it in GitHub Desktop.
A flaky test finder for go-git
This file contains 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
#!/usr/bin/env bash | |
for i in {1..5000} | |
do | |
echo $i | |
go test -v &>> out.txt | |
if grep -q 'FAIL' out.txt | |
then | |
break | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment