From 0b4c66fb5febb00c2036ca071bacdd2af89b4493 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 8 Jan 2025 06:02:21 +0100 Subject: [PATCH] test: Allow longer reboot time with fips-mode-setup --disable In TestSystemInfo.testInconsistentCryptoPolicy, `fips-mode-setup --disable` also rebuilds the initrd. In recent Fedora 41 updates, this now takes seveal minutes, so bump the timeout just like in the previous case when enabling FIPS. Fixes #21484 --- test/verify/check-system-info | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/verify/check-system-info b/test/verify/check-system-info index d0c70d0a6b93..68046a0c1a5d 100755 --- a/test/verify/check-system-info +++ b/test/verify/check-system-info @@ -894,7 +894,8 @@ password=foobar b.click(".system-health-crypto-policies button.pf-v5-c-button.pf-m-link") b.wait_in_text(".pf-v5-c-menu__item.pf-m-selected .pf-v5-c-label.pf-m-orange", "inconsistent") b.click("#crypto-policy-save-reboot") - self.wait_reboot() + # Initramfs re-generation takes a while + self.wait_reboot(timeout_sec=600) m.start_cockpit() self.login_and_go("/system") b.wait_text("#crypto-policy-button", "Default")