1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 13:33:08 +00:00

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 <deborah.brouwer@collabora.com>
This commit is contained in:
Deborah Brouwer 2024-06-13 19:30:01 -07:00 committed by adamwill
parent 3ac7b5a648
commit d726d73733

View File

@ -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";