mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
Give 'dnf -y update' a bit longer in update tests
For big updates, 10 minutes seems not to always be enough, viz https://openqa.stg.fedoraproject.org/tests/494515 Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
375575cd07
commit
067a728363
@ -485,7 +485,7 @@ sub _repo_setup_updates {
|
||||
assert_script_run 'printf "[f30-build]\nname=f30-build repo\nbaseurl=https://kojipkgs.fedoraproject.org/repos/f30-build/latest/\$basearch/\nenabled=1\nmetadata_expire=3600\ngpgcheck=0" > /etc/yum.repos.d/f30-build.repo';
|
||||
}
|
||||
# run an update now (except for upgrade tests)
|
||||
script_run "dnf -y update", 600 unless (get_var("UPGRADE"));
|
||||
script_run "dnf -y update", 900 unless (get_var("UPGRADE"));
|
||||
}
|
||||
# mark via a variable that we've set up the update/task repo and done
|
||||
# all the logging stuff above
|
||||
|
Loading…
Reference in New Issue
Block a user