From c9dd053d7158f0ca7435853498b539c9b8ff89c1 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 4 May 2026 14:00:01 +0100 Subject: [PATCH] ci: use poxygit v0.8.1 in the tests Update our CI to use poxygit v0.8.1, which has additional mocking and debugging capabilities. As part of this, the paths to the `speed` test routes changed - now they are `speed:` where `` is the speed to emulate in bps. --- ci/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/test.sh b/ci/test.sh index fdfc48455..6e435655e 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -198,7 +198,7 @@ if should_run "PROXY_TESTS"; then fi if should_run "NTLM_TESTS" || should_run "ONLINE_TESTS"; then - curl --location --silent --show-error https://github.com/ethomson/poxygit/releases/download/v0.6.0/poxygit-0.6.0.jar >poxygit.jar + curl --location --silent --show-error https://github.com/ethomson/poxygit/releases/download/v0.8.1/poxygit-0.8.1.jar >poxygit.jar echo "Starting HTTP server..." HTTP_DIR=`mktemp -d ${TMPDIR}/http.XXXXXXXX` @@ -301,8 +301,8 @@ if should_run "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" + 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