From 69c4bd98833eebf9dea2d52c2967cc65ce09e709 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 4 Oct 2021 09:53:16 +0100 Subject: [PATCH] CI: enable DNF tests on all CentOS versions Future proof against silent loss of tests on CentOS Stream 9 Change-Id: I01b10d25ee0482c4f5b9bfb304e15e55cb158cc6 --- .../tests/test_overcloud_host_configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py b/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py index 993df2b80..5fff027d8 100644 --- a/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py +++ b/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py @@ -12,7 +12,7 @@ import pytest def _is_dnf(): info = distro.linux_distribution() - return info[0].startswith('CentOS') and info[1].startswith('8') + return info[0].startswith('CentOS') def test_network_ethernet(host):