From 8fb26ccd36fd103f118446c47381240fdc11c538 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 18 May 2023 13:08:56 +0100 Subject: [PATCH] integration test: pass 'noresume' to qemu When running on Debian/Ubuntu, I get a minute delay or so on every boot because the local initramfs tries to resume from hibernation. This is not really useful here, so always skip it --- test/test-functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test-functions b/test/test-functions index 1bf9f2d54f..b875e6413e 100644 --- a/test/test-functions +++ b/test/test-functions @@ -475,6 +475,8 @@ run_qemu() { kernel_params+=("rd.hostonly=0") fi + # Debian/Ubuntu's initramfs tries to check if it can resume from hibernation + # and wastes a minute or so probing disks, skip that as it's not useful here kernel_params+=( "root=LABEL=systemd_boot" "rw" @@ -486,6 +488,7 @@ run_qemu() { "SYSTEMD_UNIT_PATH=/usr/lib/systemd/tests/testdata/testsuite-$1.units:/usr/lib/systemd/tests/testdata/units:" "systemd.unit=testsuite.target" "systemd.wants=testsuite-$1.service" + "noresume" ) if ! get_bool "$INTERACTIVE_DEBUG"; then