Skip to content

Commit

Permalink
Running crash tests up to three times
Browse files Browse the repository at this point in the history
The crash tests often fail, but sometimes also run successfully.
This PR runs them 3 times and returns OK if they are run OK at least once.
  • Loading branch information
ineiti committed Feb 15, 2024
1 parent f0fabf1 commit ed3df34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/go_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ jobs:
uses: actions/checkout@v2

- name: Run the crash test
run: go test -timeout 10m -run TestCrash ./integration/...
run: |
for a in $( seq 3 ); do
echo "Testing sequence $a"
go test -timeout 10m -run TestCrash ./integration/... && exit 0
done
exit 1
revote:
name: Test revote
runs-on: ubuntu-latest
Expand Down

0 comments on commit ed3df34

Please sign in to comment.