diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-02-04 11:26:57 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2020-02-04 11:26:57 +0100 |
commit | b33ad76473500821ab6b0ff6cd3c5ee3accfe533 (patch) | |
tree | 4094c6759dc9ec26804d3b55cb488a84a8fc7510 | |
parent | a1bff63bf1097e08c9ee1843650279054ddd2ea9 (diff) | |
download | libgit2-b33ad76473500821ab6b0ff6cd3c5ee3accfe533.tar.gz |
azure: tests: re-run flaky proxy tests
The proxy tests regularly fail in our CI environment. Unfortunately,
this is expected due to the network layer. Thus, let's re-try the proxy
tests up to five times in case they fail.
-rwxr-xr-x | azure-pipelines/test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/azure-pipelines/test.sh b/azure-pipelines/test.sh index 39e0b885b..d275b944b 100755 --- a/azure-pipelines/test.sh +++ b/azure-pipelines/test.sh @@ -216,7 +216,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 |