From 067a728363112dce07efc2840c96c74b8c7b918f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 14 Mar 2019 08:38:54 -0700 Subject: [PATCH] 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 --- lib/utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index 3e0503ba..e015773b 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -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