Skip to content

Commit d237324

Browse files
authored
Merge pull request #7657 from julek-wolfssl/cyrus-sasl-test-retry
Retry sasl tests as they appear to be flaky
2 parents e1c1b50 + 90861d9 commit d237324

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/cyrus-sasl.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,11 @@ jobs:
8888
working-directory: sasl
8989
run: |
9090
make -j -C utils testsuite saslpasswd2
91-
$GITHUB_WORKSPACE/osp/cyrus-sasl/${{ matrix.ref }}/run-tests.sh
91+
# Retry up to five times
92+
for i in {1..5}; do
93+
TEST_RES=0
94+
$GITHUB_WORKSPACE/osp/cyrus-sasl/${{ matrix.ref }}/run-tests.sh || TEST_RES=$?
95+
if [ "$TEST_RES" -eq "0" ]; then
96+
break
97+
fi
98+
done

0 commit comments

Comments
 (0)