Skip to content

Commit

Permalink
test: Allow longer reboot time with fips-mode-setup --disable
Browse files Browse the repository at this point in the history
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
  • Loading branch information
martinpitt committed Jan 8, 2025
1 parent 8451301 commit 0b4c66f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/verify/check-system-info
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0b4c66f

Please sign in to comment.