summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_integration/tasks.py')
-rw-r--r--ipatests/test_integration/tasks.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py
index 5e460627..d131e4df 100644
--- a/ipatests/test_integration/tasks.py
+++ b/ipatests/test_integration/tasks.py
@@ -148,6 +148,8 @@ def install_master(host, collect_log=None):
enable_replication_debugging(host)
+ host.run_command(['kinit', 'admin'],
+ stdin_text=host.config.admin_password)
def install_replica(master, replica, collect_log=None):
if collect_log:
@@ -173,6 +175,9 @@ def install_replica(master, replica, collect_log=None):
enable_replication_debugging(replica)
+ replica.run_command(['kinit', 'admin'],
+ stdin_text=replica.config.admin_password)
+
def connect_replica(master, replica=None):
if replica is None: