From 9dc38b1a7167c003c6860d2bf141078d534b0792 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 25 May 2022 14:54:25 -0700 Subject: [PATCH] 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 --- createhdds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createhdds.py b/createhdds.py index aef0fca..8495d1e 100755 --- a/createhdds.py +++ b/createhdds.py @@ -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: