1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-23 23:55:44 +00:00

Use longer timeout for update download if openjdk is in it

Several tests on openjdk updates timed out on download...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-07-22 18:14:54 -07:00
parent ef1dd350d5
commit 859f079333

View File

@ -653,8 +653,8 @@ sub setup_repos {
}
}
$udstring = join(',', @nvrs);
# bump the timeout if we have a huge update
$timeout = 1800 if (scalar(@nvrs) > 100);
# bump the timeout if we have a huge update (or openjdk)
$timeout = 1800 if (scalar(@nvrs) > 100 || $udstring =~ m/openjdk/);
}
elsif (get_var("KOJITASK")) {
# Koji task case (KOJITASK will be set). If multiple tasks,