From df86df17d15f31e27c863a3d06289de7065412a4 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Fri, 30 Aug 2024 14:32:01 +0200 Subject: [PATCH] Allow installation of a 3rd host --- data.py-dist | 1 + tests/install/test.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data.py-dist b/data.py-dist index f5f9df1b..d9fd95ce 100644 --- a/data.py-dist +++ b/data.py-dist @@ -47,6 +47,7 @@ HOSTS_IP_CONFIG = { 'HOSTS': { # 'DEFAULT': '192.16.0.1', # 'host2': '192.16.0.2', +# 'host3': '192.16.0.3', }, # 'NETMASK': '255.255.0.0', # 'GATEWAY': '192.16.0.254', diff --git a/tests/install/test.py b/tests/install/test.py index 9d41b2a9..26bd5c1f 100644 --- a/tests/install/test.py +++ b/tests/install/test.py @@ -94,7 +94,7 @@ def helper_vm_with_plugged_disk(running_vm, create_vms): @pytest.mark.usefixtures("xcpng_chained") @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) @pytest.mark.parametrize("source_type", ("iso", "net")) - @pytest.mark.parametrize("machine", ("host1", "host2")) + @pytest.mark.parametrize("machine", ("host1", "host2", "host3")) @pytest.mark.parametrize("version", ( "83nightly", "83rc1net", "83rc1", "83b2", "83b1", @@ -269,7 +269,7 @@ def _test_firstboot(self, create_vms, mode, *, machine='DEFAULT'): @pytest.mark.usefixtures("xcpng_chained") @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) @pytest.mark.parametrize("source_type", ("iso", "net")) - @pytest.mark.parametrize("machine", ("host1", "host2")) + @pytest.mark.parametrize("machine", ("host1", "host2", "host3")) @pytest.mark.parametrize("version", ( "83nightly", "83rc1net", "83rc1", "83b2", "83b1",