]> git.saurik.com Git - apt.git/commitdiff
test-apt-download-progress: Limit rate to 600k
authorJulian Andres Klode <jak@debian.org>
Mon, 14 Dec 2015 09:43:26 +0000 (10:43 +0100)
committerJulian Andres Klode <jak@debian.org>
Mon, 14 Dec 2015 09:44:45 +0000 (10:44 +0100)
This reduces the chance that the test fails.

Gbp-Dch: ignore

test/integration/test-apt-download-progress

index 07c61ababd836658012c899954a595dfc7bf72aa..09c5967151e7a67e7cc1524fb75f66b466bd4d19 100755 (executable)
@@ -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