ipatests: in test_trust.py fix prameters in invocation of tasks.configure_dns_for_trust

It was changed in f487233df0
for unknown reason. It did not influence test runs as
configure_dns_for_trust was made no-op in previous commit
1d9e1521c5. As now this commit is reverted,
configure_dns_for_trust is restored, invocation parameters also need to
be changed to initial values.

Related to https://pagure.io/freeipa/issue/7889

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Sergey Orlov 2019-03-26 17:09:19 +01:00 committed by Rob Crittenden
parent cc1fb2fac5
commit 3e01d2619e

View File

@ -86,7 +86,7 @@ class ADTrustBase(IntegrationTest):
@classmethod
def configure_dns_and_time(cls):
tasks.configure_dns_for_trust(cls.master, cls.ad_domain)
tasks.configure_dns_for_trust(cls.master, cls.ad)
tasks.sync_time(cls.master, cls.ad)
def test_establish_trust(self):
@ -120,7 +120,7 @@ class ADTrustSubdomainBase(ADTrustBase):
@classmethod
def configure_dns_and_time(cls):
tasks.configure_dns_for_trust(cls.master, cls.ad_subdomain)
tasks.configure_dns_for_trust(cls.master, cls.child_ad)
tasks.sync_time(cls.master, cls.child_ad)
@classmethod
@ -137,7 +137,7 @@ class ADTrustTreedomainBase(ADTrustBase):
@classmethod
def configure_dns_and_time(cls):
tasks.configure_dns_for_trust(cls.master, cls.ad_treedomain)
tasks.configure_dns_for_trust(cls.master, cls.tree_ad)
tasks.sync_time(cls.master, cls.tree_ad)
@classmethod