From 6c0765c096ffb4df14169236c865bbb2b10974ae Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Tue, 15 Sep 2015 00:33:12 +0200 Subject: tests: don't use hardcoded port for http and https This allows running tests in parallel. Git-Dch: Ignore --- test/integration/test-acquire-same-repository-multiple-times | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integration/test-acquire-same-repository-multiple-times') diff --git a/test/integration/test-acquire-same-repository-multiple-times b/test/integration/test-acquire-same-repository-multiple-times index 19a18cb63..b99496e35 100755 --- a/test/integration/test-acquire-same-repository-multiple-times +++ b/test/integration/test-acquire-same-repository-multiple-times @@ -74,11 +74,11 @@ rm -rf rootdir/var/lib/apt/lists changetowebserver -tworepos 'http' '//localhost:8080' 'no partial' +tworepos 'http' "//localhost:${APTHTTPPORT}" 'no partial' testequal '10' grep -c '200%20URI%20Start' ./download.log testequal '10' grep -c '201%20URI%20Done' ./download.log testequal '6' grep -c '^ @ Queue: Action combined' ./download.log -tworepos 'http' '//localhost:8080' 'hit' +tworepos 'http' "//localhost:${APTHTTPPORT}" 'hit' testequal '2' grep -c '200%20URI%20Start' ./download.log testequal '4' grep -c '201%20URI%20Done' ./download.log testequal '0' grep -c '^ @ Queue: Action combined' ./download.log -- cgit v1.2.3