summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-14 10:43:26 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-14 10:44:45 +0100
commitc95c96746d93a6f2d94ee96f8abf3e324bfb690a (patch)
tree2432f3351334565632ded5def6a87dec64760bf6
parent5146566b022c1821d85d79e60ca5ba69d31370e1 (diff)
test-apt-download-progress: Limit rate to 600k
This reduces the chance that the test fails. Gbp-Dch: ignore
-rwxr-xr-xtest/integration/test-apt-download-progress4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-download-progress b/test/integration/test-apt-download-progress
index 07c61abab..09c596715 100755
--- a/test/integration/test-apt-download-progress
+++ b/test/integration/test-apt-download-progress
@@ -30,12 +30,12 @@ OPT='-o APT::Status-Fd=3 -o Debug::pkgAcquire::Worker=1 -o Debug::Acquire::http=
msgtest 'download progress works via' 'http'
exec 3> apt-progress.log
-testsuccess --nomsg apthelper download-file "http://localhost:${APTHTTPPORT}/$TESTFILE" ./downloaded/http-$TESTFILE $OPT -o Acquire::http::Dl-Limit=800
+testsuccess --nomsg apthelper download-file "http://localhost:${APTHTTPPORT}/$TESTFILE" ./downloaded/http-$TESTFILE $OPT -o Acquire::http::Dl-Limit=600
assertprogress apt-progress.log
msgtest 'download progress works via' 'https'
exec 3> apt-progress.log
-testsuccess --nomsg apthelper download-file "https://localhost:${APTHTTPSPORT}/$TESTFILE" ./downloaded/https-$TESTFILE $OPT -o Acquire::https::Dl-Limit=800
+testsuccess --nomsg apthelper download-file "https://localhost:${APTHTTPSPORT}/$TESTFILE" ./downloaded/https-$TESTFILE $OPT -o Acquire::https::Dl-Limit=600
assertprogress apt-progress.log
# cleanup