From d726d737331bd7f0d87a864135919fff0907e6c2 Mon Sep 17 00:00:00 2001 From: Deborah Brouwer Date: Thu, 13 Jun 2024 19:30:01 -0700 Subject: [PATCH] rpmostree_overlay: double the timeouts Tests running in cloud instances are failing because installing rpm-ostree packages, particularly writing the OSTree commit, is often taking longer than the timeout maximum of five minutes. Stop these tests from needlessly failing by doubling the allowable time for installing each package. Signed-off-by: Deborah Brouwer --- tests/rpmostree_overlay.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rpmostree_overlay.pm b/tests/rpmostree_overlay.pm index 0d719f52..edb2231c 100644 --- a/tests/rpmostree_overlay.pm +++ b/tests/rpmostree_overlay.pm @@ -30,7 +30,7 @@ sub run { # Install htop as rpm-ostree overlay. Let's have timeout defined # quite generously, because it loads the package DBs. - assert_script_run "rpm-ostree install htop", timeout => 300; + assert_script_run "rpm-ostree install htop", timeout => 600; # Reboot the machine to boot into the overlayed tree. reboot_and_login "300"; @@ -40,7 +40,7 @@ sub run { assert_script_run "htop --version"; # Then install the psotgresql-server package. - assert_script_run "rpm-ostree install postgresql-server", timeout => 300; + assert_script_run "rpm-ostree install postgresql-server", timeout => 600; # Reboot the machine to boot into the overlayed tree. reboot_and_login "300";