mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: hidden replica: use dns_update_system_records
Use dns_update_system_records after restoring the replica to force-update the DNS records. Related: https://pagure.io/freeipa/issue/8534 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
acf31d043f
commit
b9b7175dbd
@@ -954,6 +954,10 @@ class TestHiddenReplicaPromotion(IntegrationTest):
|
||||
tasks.wait_for_replication(
|
||||
self.replicas[0].ldap_connect()
|
||||
)
|
||||
tasks.dns_update_system_records(self.master)
|
||||
tasks.wait_for_replication(
|
||||
self.master.ldap_connect()
|
||||
)
|
||||
self._check_config([self.master, self.replicas[0]])
|
||||
self._check_dnsrecords([self.master, self.replicas[0]])
|
||||
|
||||
@@ -973,6 +977,10 @@ class TestHiddenReplicaPromotion(IntegrationTest):
|
||||
tasks.wait_for_replication(
|
||||
self.replicas[0].ldap_connect()
|
||||
)
|
||||
tasks.dns_update_system_records(self.master)
|
||||
tasks.wait_for_replication(
|
||||
self.master.ldap_connect()
|
||||
)
|
||||
self._check_config([self.master], [self.replicas[0]])
|
||||
self._check_dnsrecords([self.master], [self.replicas[0]])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user