summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-02-06 06:14:20 +0100
committerGitHub <noreply@github.com>2020-02-06 06:14:20 +0100
commitbd6b1c41575e7cc011798a424b6564569887c293 (patch)
tree4fc1cf97db1fa5e61297397065ba0c8814782b56
parent559751714b23f63ead726e9a773be8b07e3551ae (diff)
parentc51bd2f20fb4fc6b1d04274707e7ea195a57e056 (diff)
downloadlibgit2-bd6b1c41575e7cc011798a424b6564569887c293.tar.gz
Merge pull request #5381 from pks-t/pks/tests-flaky-proxy
azure: tests: re-run flaky proxy tests
-rwxr-xr-xazure-pipelines/test.sh3
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