Instantly share code, notes, and snippets.

Embed
What would you like to do?
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