summaryrefslogtreecommitdiff
path: root/ci/test.sh
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-05-13 17:11:56 +0100
committerGitHub <noreply@github.com>2023-05-13 17:11:56 +0100
commit9d41a3fd694d983ade53fb602a58f6df25ce0656 (patch)
tree73fb6759a3138023f85654e38dcac1fb9cc4c7ad /ci/test.sh
parent905e4d19c2c401cef3964c2e28bf64b0dad77331 (diff)
parent8f695c806bac2b044f102c55b802e44f2d30ca01 (diff)
downloadlibgit2-9d41a3fd694d983ade53fb602a58f6df25ce0656.tar.gz
Merge pull request #6535 from libgit2/ethomson/timeouts
Diffstat (limited to 'ci/test.sh')
-rwxr-xr-xci/test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/test.sh b/ci/test.sh
index c46cf0dc4..ee6801a79 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -171,7 +171,7 @@ if [ -z "$SKIP_PROXY_TESTS" ]; then
fi
if [ -z "$SKIP_NTLM_TESTS" -o -z "$SKIP_ONLINE_TESTS" ]; then
- curl --location --silent --show-error https://github.com/ethomson/poxygit/releases/download/v0.5.1/poxygit-0.5.1.jar >poxygit.jar
+ curl --location --silent --show-error https://github.com/ethomson/poxygit/releases/download/v0.6.0/poxygit-0.6.0.jar >poxygit.jar
echo "Starting HTTP server..."
HTTP_DIR=`mktemp -d ${TMPDIR}/http.XXXXXXXX`
@@ -271,9 +271,13 @@ if [ -z "$SKIP_ONLINE_TESTS" ]; then
export GITTEST_REMOTE_REDIRECT_INITIAL="http://localhost:9000/initial-redirect/libgit2/TestGitRepository"
export GITTEST_REMOTE_REDIRECT_SUBSEQUENT="http://localhost:9000/subsequent-redirect/libgit2/TestGitRepository"
+ export GITTEST_REMOTE_SPEED_SLOW="http://localhost:9000/speed-9600/test.git"
+ export GITTEST_REMOTE_SPEED_TIMESOUT="http://localhost:9000/speed-0.5/test.git"
run_test online
unset GITTEST_REMOTE_REDIRECT_INITIAL
unset GITTEST_REMOTE_REDIRECT_SUBSEQUENT
+ unset GITTEST_REMOTE_SPEED_SLOW
+ unset GITTEST_REMOTE_SPEED_TIMESOUT
# Run the online tests that immutably change global state separately
# to avoid polluting the test environment.