1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-12-22 02:43:07 +00:00

Drop maxage default to 7 days (from 14)

Now we want to test Rawhide, 14 days is a bit too long. After
13 days, Rawhide updates are absolutely piling up, and it can
cause the `dnf update` run at the start of update tests to time
out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-05-25 14:54:25 -07:00
parent 22490460d7
commit 9dc38b1a71

View File

@ -210,7 +210,7 @@ class VirtInstallImage(object):
and 'rawhide' are flags for whether this is a branched or Rawhide
release (which affects the paths).
"""
def __init__(self, name, release, arch, size, variant=None, imgver='', maxage=14,
def __init__(self, name, release, arch, size, variant=None, imgver='', maxage=7,
bootopts=None, branched=False, rawhide=False):
self.name = name
self.size = size
@ -491,7 +491,7 @@ def get_virtinstall_images(imggrp, nextrel=None, releases=None):
nextrel = 0
name = imggrp['name']
# this is the second place we set a default for maxage - bit ugly
maxage = int(imggrp.get('maxage', 14))
maxage = int(imggrp.get('maxage', 7))
# ditto variant
variant = imggrp.get('variant')
if not releases: