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:
parent
4dd94df3bc
commit
9cf3105168
|
@ -22,9 +22,10 @@ sub run {
|
||||||
|
|
||||||
# Try and cancel any running rpm-ostree operations (GNOME Software
|
# Try and cancel any running rpm-ostree operations (GNOME Software
|
||||||
# may be trying to refresh or something). This often needs to be
|
# 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) {
|
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
|
# Install htop as rpm-ostree overlay. Let's have timeout defined
|
||||||
|
@ -72,7 +73,7 @@ sub run {
|
||||||
|
|
||||||
# Cancel running operations again
|
# Cancel running operations again
|
||||||
for my $n (1 .. 6) {
|
for my $n (1 .. 6) {
|
||||||
script_run "rpm-ostree cancel";
|
script_run "rpm-ostree cancel", timeout => 180;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Uninstall htop and postgresql again.
|
# Uninstall htop and postgresql again.
|
||||||
|
|
Loading…
Reference in New Issue