Skip to content

Commit bd6b1c4

Browse files
authored
Merge pull request libgit2#5381 from pks-t/pks/tests-flaky-proxy
azure: tests: re-run flaky proxy tests
2 parents 5597517 + c51bd2f commit bd6b1c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

azure-pipelines/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ run_test() {
5454
CLAR_SUMMARY="${BUILD_DIR}/results_${1}.xml" ctest -V -R "^${1}$" || RETURN_CODE=$? && true
5555

5656
if [ "$RETURN_CODE" -eq 0 ]; then
57+
FAILED=0
5758
break
5859
fi
5960

@@ -216,7 +217,9 @@ if [ -z "$SKIP_PROXY_TESTS" ]; then
216217
export GITTEST_REMOTE_PROXY_HOST="localhost:8090"
217218
export GITTEST_REMOTE_PROXY_USER="foo"
218219
export GITTEST_REMOTE_PROXY_PASS="bar"
220+
export GITTEST_FLAKY_RETRY=5
219221
run_test proxy
222+
unset GITTEST_FLAKY_RETRY
220223
unset GITTEST_REMOTE_PROXY_HOST
221224
unset GITTEST_REMOTE_PROXY_USER
222225
unset GITTEST_REMOTE_PROXY_PASS

0 commit comments

Comments
 (0)