From a6862bd7af6eb768f150f2dc0372193ec826efa6 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Thu, 6 Dec 2018 12:49:30 +0100 Subject: [PATCH] ipatests/test_integration/test_server_del.py: Enable dns in fw for dnssec test_install_dns_on_replica1_and_dnssec_on_master now also enables the dns servive in the firewall of the master. See: https://pagure.io/freeipa/issue/7755 Signed-off-by: Thomas Woerner Reviewed-By: Christian Heimes --- ipatests/test_integration/test_server_del.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipatests/test_integration/test_server_del.py b/ipatests/test_integration/test_server_del.py index 54ce65d1b..5e627d5db 100644 --- a/ipatests/test_integration/test_server_del.py +++ b/ipatests/test_integration/test_server_del.py @@ -6,6 +6,7 @@ from itertools import permutations from ipatests.test_integration.base import IntegrationTest from ipatests.pytest_ipa.integration import tasks +from ipatests.pytest_ipa.integration.firewall import Firewall from ipalib.constants import DOMAIN_LEVEL_1, DOMAIN_SUFFIX_NAME, CA_SUFFIX_NAME REMOVAL_ERR_TEMPLATE = ("Removal of '{hostname}' leads to disconnected " @@ -264,6 +265,7 @@ class TestLastServices(ServerDelBase): "-U", ] self.master.run_command(args) + Firewall(self.master).enable_service("dns") def test_removal_of_master_raises_error_about_dnssec(self): tasks.assert_error(