Skip to content

Commit

Permalink
CQ-4355928: add proxy availability check
Browse files Browse the repository at this point in the history
  • Loading branch information
bisswanger authored May 13, 2024
1 parent 3f64846 commit a1a64cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui.tests/test-module/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ if [ -n "${PROXY_HOST:-}" ]; then
curl --silent --retry ${PROXY_RETRY_ATTEMPTS:-3} --retry-connrefused --retry-delay ${PROXY_RETRY_DELAY:-10} \
--proxy ${HTTP_PROXY} --proxy-cacert ${PROXY_CA_PATH:-""} \
${PROXY_HOST}:${PROXY_OBSERVABILITY_PORT}
if [ $? -ne 0 ]; then
echo "Proxy is not ready"
exit 1
fi
fi
fi

Expand Down

0 comments on commit a1a64cc

Please sign in to comment.