post_fail_hook: give dnf -y install tar a bit longer

It seems to time out a lot on lab but not on prod, for some
reason. Let's just give it a little longer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-11-25 11:12:46 -08:00
parent d4717ff090
commit 2c6e1ec76b
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ sub post_fail_hook {
# rely on dnf always working (it fails in emergency mode, not sure
# why), so try it. if we don't get a return code, process may be
# stuck waiting on network or something, so hit ctrl-c
unless (script_run "dnf -y install tar", 180) {
unless (script_run "dnf -y install tar", 300) {
unless (is_serial_terminal) {
send_key "ctrl-c";
}