summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2023-03-04 11:52:29 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2023-03-04 11:52:29 +0100
commite90ba0afa2a27ecea792e8039b2917ec55647548 (patch)
treec239e9ae70d51489daaeb6813d461efe355ad2f1 /test
parent6ba6b29e37a7e7b867a88f1d74e7dcfd7f83c30e (diff)
Disable retries to speed up failure-propagation test
Gbp-Dch: Ignore
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-update-failure-propagation3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-apt-update-failure-propagation b/test/integration/test-apt-update-failure-propagation
index 8c7fd3b7e..f8de3b5c7 100755
--- a/test/integration/test-apt-update-failure-propagation
+++ b/test/integration/test-apt-update-failure-propagation
@@ -26,6 +26,9 @@ for FILE in rootdir/etc/apt/sources.list.d/*-sid-* ; do
sed -i -e 's#https:#http:#' -e "s#:${APTHTTPSPORT}/#:${APTHTTPPORT}/#" "$FILE"
done
+# these tests are designed to fail, retries are just a waste of time here
+echo 'Acquire::Retries 0;' > rootdir/etc/apt/apt.conf.d/disable-retries.conf
+
pretest() {
msgmsg "$@"
rm -rf rootdir/var/lib/apt/lists