From de4a1fc0df5474f268c7ed08ffb802110631c13f Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Sep 14 2016 07:51:51 +0000 Subject: Changed addressing to the client hosts to be replicas https://fedorahosted.org/freeipa/ticket/6287 Reviewed-By: Martin Basti --- diff --git a/ipatests/test_integration/test_replica_promotion.py b/ipatests/test_integration/test_replica_promotion.py index 34af116..cff48ea 100644 --- a/ipatests/test_integration/test_replica_promotion.py +++ b/ipatests/test_integration/test_replica_promotion.py @@ -390,7 +390,7 @@ class TestOldReplicaWorksAfterDomainUpgrade(IntegrationTest): class TestWrongClientDomain(IntegrationTest): topology = "star" - num_clients = 1 + num_replicas = 1 domain_name = 'exxample.test' @classmethod @@ -398,16 +398,16 @@ class TestWrongClientDomain(IntegrationTest): tasks.install_master(cls.master, domain_level=cls.domain_level) def teardown_method(self, method): - self.clients[0].run_command(['ipa-client-install', + self.replicas[0].run_command(['ipa-client-install', '--uninstall', '-U'], raiseonerr=False) tasks.kinit_admin(self.master) self.master.run_command(['ipa', 'host-del', - self.clients[0].hostname], + self.replicas[0].hostname], raiseonerr=False) def test_wrong_client_domain(self): - client = self.clients[0] + client = self.replicas[0] client.run_command(['ipa-client-install', '-U', '--domain', self.domain_name, '--realm', self.master.domain.realm, @@ -424,7 +424,7 @@ class TestWrongClientDomain(IntegrationTest): "'%s'" % (self.domain_name, self.master.domain.name)) def test_upcase_client_domain(self): - client = self.clients[0] + client = self.replicas[0] result = client.run_command(['ipa-client-install', '-U', '--domain', self.master.domain.name.upper(), '-w', self.master.config.admin_password,