Skip to content

Instantly share code, notes, and snippets.

@mccurdyc
Created November 6, 2018 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mccurdyc/5b39f971a122544e02e1e21c639a1e67 to your computer and use it in GitHub Desktop.
Save mccurdyc/5b39f971a122544e02e1e21c639a1e67 to your computer and use it in GitHub Desktop.
A flaky test finder for go-git
#!/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