Skip to content

Commit b33ad76

Browse files
committed
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.
1 parent a1bff63 commit b33ad76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure-pipelines/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ if [ -z "$SKIP_PROXY_TESTS" ]; then
216216
export GITTEST_REMOTE_PROXY_HOST="localhost:8090"
217217
export GITTEST_REMOTE_PROXY_USER="foo"
218218
export GITTEST_REMOTE_PROXY_PASS="bar"
219+
export GITTEST_FLAKY_RETRY=5
219220
run_test proxy
221+
unset GITTEST_FLAKY_RETRY
220222
unset GITTEST_REMOTE_PROXY_HOST
221223
unset GITTEST_REMOTE_PROXY_USER
222224
unset GITTEST_REMOTE_PROXY_PASS

0 commit comments

Comments
 (0)