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 authored and Rob Crittenden committed 2024-07-05 15:48:10 -04:00
1 parent 88a392cf84
commit 0be8d040a7
1 file changed
+1
@@ -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)