From e90ba0afa2a27ecea792e8039b2917ec55647548 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 4 Mar 2023 11:52:29 +0100 Subject: Disable retries to speed up failure-propagation test Gbp-Dch: Ignore --- test/integration/test-apt-update-failure-propagation | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-70-g09d2