mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: hiddenreplica: use wait_for_ipa_to_start after restore
Use wait_for_ipa_to_start to wait until the restored replica is online. 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:
parent
d02ec40901
commit
d5ee7528b2
@ -1030,6 +1030,9 @@ class TestHiddenReplicaPromotion(IntegrationTest):
|
||||
stdin_text=dirman_password + '\nyes'
|
||||
)
|
||||
|
||||
# wait for the replica to be available
|
||||
tasks.wait_for_ipa_to_start(self.replicas[0])
|
||||
|
||||
# give replication some time
|
||||
time.sleep(5)
|
||||
tasks.kinit_admin(self.replicas[0])
|
||||
|
Loading…
Reference in New Issue
Block a user