diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-02-06 06:14:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 06:14:20 +0100 |
commit | bd6b1c41575e7cc011798a424b6564569887c293 (patch) | |
tree | 4fc1cf97db1fa5e61297397065ba0c8814782b56 | |
parent | 559751714b23f63ead726e9a773be8b07e3551ae (diff) | |
parent | c51bd2f20fb4fc6b1d04274707e7ea195a57e056 (diff) | |
download | libgit2-bd6b1c41575e7cc011798a424b6564569887c293.tar.gz |
Merge pull request #5381 from pks-t/pks/tests-flaky-proxy
azure: tests: re-run flaky proxy tests
-rwxr-xr-x | azure-pipelines/test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/azure-pipelines/test.sh b/azure-pipelines/test.sh index 39e0b885b..dfd9960ec 100755 --- a/azure-pipelines/test.sh +++ b/azure-pipelines/test.sh @@ -54,6 +54,7 @@ run_test() { CLAR_SUMMARY="${BUILD_DIR}/results_${1}.xml" ctest -V -R "^${1}$" || RETURN_CODE=$? && true if [ "$RETURN_CODE" -eq 0 ]; then + FAILED=0 break fi @@ -216,7 +217,9 @@ if [ -z "$SKIP_PROXY_TESTS" ]; then export GITTEST_REMOTE_PROXY_HOST="localhost:8090" export GITTEST_REMOTE_PROXY_USER="foo" export GITTEST_REMOTE_PROXY_PASS="bar" + export GITTEST_FLAKY_RETRY=5 run_test proxy + unset GITTEST_FLAKY_RETRY unset GITTEST_REMOTE_PROXY_HOST unset GITTEST_REMOTE_PROXY_USER unset GITTEST_REMOTE_PROXY_PASS |