mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
Give some long-running package install operations a bit longer
These have timed out quite often recently. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
245903dd0c
commit
8bcabe25a8
@ -669,7 +669,7 @@ sub _repo_setup_updates {
|
||||
# where the updated packages should have been installed
|
||||
# already and we want to fail if they weren't, or CANNED
|
||||
# tests, there's no point updating the toolbox
|
||||
script_run "dnf -y update", 900 unless (get_var("UPGRADE") || get_var("INSTALL") || get_var("CANNED"));
|
||||
script_run "dnf -y update", 1200 unless (get_var("UPGRADE") || get_var("INSTALL") || get_var("CANNED"));
|
||||
# however, on liveinst tests, we need to update the packages
|
||||
# we installed above, just in case they're in the update
|
||||
# under test; otherwise we get a bogus failure for the package
|
||||
|
@ -78,7 +78,7 @@ sub run {
|
||||
# upload the kickstart so we can check it
|
||||
upload_logs "openqa.ks";
|
||||
# now install the tools into the mock
|
||||
assert_script_run "mock -r openqa --isolation=simple --install bash coreutils glibc-all-langpacks lorax-lmc-novirt selinux-policy-targeted shadow-utils util-linux", 600;
|
||||
assert_script_run "mock -r openqa --isolation=simple --install bash coreutils glibc-all-langpacks lorax-lmc-novirt selinux-policy-targeted shadow-utils util-linux", 900;
|
||||
# now make the image build directory inside the mock root and put the kickstart there
|
||||
assert_script_run 'mock -r openqa --isolation=simple --chroot "mkdir -p /chroot_tmpdir"';
|
||||
assert_script_run "mock -r openqa --isolation=simple --copyin openqa.ks /chroot_tmpdir";
|
||||
|
Loading…
Reference in New Issue
Block a user