diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2023-03-04 11:52:29 +0100 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2023-03-04 11:52:29 +0100 |
| commit | e90ba0afa2a27ecea792e8039b2917ec55647548 (patch) | |
| tree | c239e9ae70d51489daaeb6813d461efe355ad2f1 | |
| parent | 6ba6b29e37a7e7b867a88f1d74e7dcfd7f83c30e (diff) | |
Disable retries to speed up failure-propagation test
Gbp-Dch: Ignore
| -rwxr-xr-x | test/integration/test-apt-update-failure-propagation | 3 |
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 |
