1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-23 06:23:09 +00:00

Try a longer timeout for the rpm-ostree cancels in overlay

We seem to be getting quite a lot of failures in update tests
where this times out. Let's try a longer timeout.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-01-17 11:47:10 -08:00
parent 4dd94df3bc
commit 9cf3105168

View File

@ -22,9 +22,10 @@ sub run {
# Try and cancel any running rpm-ostree operations (GNOME Software
# may be trying to refresh or something). This often needs to be
# done multiple times, so let's go with 6
# done multiple times, so let's go with 6. for some reason as of
# 2024-01, this often takes a long time, so bump timeout
for my $n (1 .. 6) {
script_run "rpm-ostree cancel";
script_run "rpm-ostree cancel", timeout => 180;
}
# Install htop as rpm-ostree overlay. Let's have timeout defined
@ -72,7 +73,7 @@ sub run {
# Cancel running operations again
for my $n (1 .. 6) {
script_run "rpm-ostree cancel";
script_run "rpm-ostree cancel", timeout => 180;
}
# Uninstall htop and postgresql again.