Skip to content

Commit

Permalink
Merge pull request #7657 from julek-wolfssl/cyrus-sasl-test-retry
Browse files Browse the repository at this point in the history
Retry sasl tests as they appear to be flaky
  • Loading branch information
dgarske authored Aug 1, 2024
2 parents e1c1b50 + 90861d9 commit d237324
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cyrus-sasl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,11 @@ jobs:
working-directory: sasl
run: |
make -j -C utils testsuite saslpasswd2
$GITHUB_WORKSPACE/osp/cyrus-sasl/${{ matrix.ref }}/run-tests.sh
# Retry up to five times
for i in {1..5}; do
TEST_RES=0
$GITHUB_WORKSPACE/osp/cyrus-sasl/${{ matrix.ref }}/run-tests.sh || TEST_RES=$?
if [ "$TEST_RES" -eq "0" ]; then
break
fi
done

0 comments on commit d237324

Please sign in to comment.