From 859f07933345acefa6196ebc6bee8a0647ec348d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 22 Jul 2025 18:14:54 -0700 Subject: [PATCH] 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 --- lib/utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.pm b/lib/utils.pm index bb0f4c4c..810057d6 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -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,