From 89fddb07503c2df1bd547b4f0c2f2b119cbd23b8 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 20 Nov 2020 11:05:34 -0500 Subject: [PATCH] ipatests: Configure a replica in TestACMEwithExternalCA This subclasses TestACME which installs and configures a replica in order to verify global enable/disable of ACME. https://pagure.io/freeipa/issue/8581 Signed-off-by: Rob Crittenden Reviewed-By: Mohammad Rizwan Reviewed-By: Florence Blanc-Renaud Reviewed-By: Armando Neto --- ipatests/test_integration/test_acme.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_acme.py b/ipatests/test_integration/test_acme.py index a38dc48eb..5c778d1e0 100644 --- a/ipatests/test_integration/test_acme.py +++ b/ipatests/test_integration/test_acme.py @@ -486,7 +486,7 @@ class TestACMECALess(IntegrationTest): class TestACMEwithExternalCA(TestACME): """Test the FreeIPA ACME service with external CA""" - num_replicas = 0 + num_replicas = 1 num_clients = 1 @classmethod @@ -510,3 +510,7 @@ class TestACMEwithExternalCA(TestACME): tasks.config_host_resolvconf_with_master_data( cls.master, cls.clients[0] ) + tasks.install_replica(cls.master, cls.replicas[0]) + tasks.config_host_resolvconf_with_master_data( + cls.master, cls.replicas[0] + )