Commit c9d9e25fb1b7e61277c43d56c6e3fc8bb8f1745f

Edward Thomson 2019-01-20T17:34:41

ci: update poxyproxy, run in quiet mode Update the proxy so that we can enable a quiet mode.

diff --git a/ci/test.ps1 b/ci/test.ps1
index dcce5f4..06e0ab2 100644
--- a/ci/test.ps1
+++ b/ci/test.ps1
@@ -40,8 +40,8 @@ Write-Host "####################################################################
 if (-not $Env:SKIP_PROXY_TESTS) {
 	Write-Host ""
 	Write-Host "Starting HTTP proxy..."
-	Invoke-WebRequest -Method GET -Uri https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar -OutFile poxyproxy.jar
-	javaw -jar poxyproxy.jar -d --port 8080 --credentials foo:bar
+	Invoke-WebRequest -Method GET -Uri https://github.com/ethomson/poxyproxy/releases/download/v0.4.0/poxyproxy-0.4.0.jar -OutFile poxyproxy.jar
+	javaw -jar poxyproxy.jar -d --port 8080 --credentials foo:bar --quiet
 }
 
 Write-Host ""
diff --git a/ci/test.sh b/ci/test.sh
index ebf6479..136ff25 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -79,8 +79,8 @@ fi
 
 if [ -z "$SKIP_PROXY_TESTS" ]; then
 	echo "Starting HTTP proxy..."
-	curl -L https://github.com/ethomson/poxyproxy/releases/download/v0.2.0/poxyproxy-0.2.0.jar >poxyproxy.jar
-	java -jar poxyproxy.jar -d --address 127.0.0.1 --port 8080 --credentials foo:bar >/dev/null 2>&1 &
+	curl -L https://github.com/ethomson/poxyproxy/releases/download/v0.4.0/poxyproxy-0.4.0.jar >poxyproxy.jar
+	java -jar poxyproxy.jar -d --address 127.0.0.1 --port 8080 --credentials foo:bar --quiet &
 fi
 
 if [ -z "$SKIP_SSH_TESTS" ]; then