test_replica_install_after_restore: kinit after restore

After uninstall and restore, kinit is required before
launching any ipa command.

Related: https://pagure.io/freeipa/issue/9613
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2024-07-02 11:44:30 +02:00
parent 6fe268af5b
commit d635d70110

View File

@ -903,6 +903,7 @@ class TestReplicaInstallAfterRestore(IntegrationTest):
master.run_command(['ipa-restore', backup_path],
stdin_text=dirman_password + '\nyes')
tasks.kinit_admin(master)
# re-initialize topology after restore.
for topo_suffix in 'domain', 'ca':
topo_name = find_segment(master, replica1, topo_suffix)