Retry sasl tests as they appear to be flaky
This commit is contained in:
parent
1b8254d668
commit
90861d9e6d
9
.github/workflows/cyrus-sasl.yml
vendored
9
.github/workflows/cyrus-sasl.yml
vendored
@ -88,4 +88,11 @@ jobs:
|
|||||||
working-directory: sasl
|
working-directory: sasl
|
||||||
run: |
|
run: |
|
||||||
make -j -C utils testsuite saslpasswd2
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user