From bd5746c538a4e1e7f312de7475eaaa4ce6446cc3 Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Thu, 4 Aug 2016 09:22:31 +0200 Subject: Fixed incorrect domainlevel determination in tests https://fedorahosted.org/freeipa/ticket/6167 Reviewed-By: Martin Basti --- ipatests/test_integration/tasks.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipatests') diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 8cd9ec71b..21f5d9a96 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -301,6 +301,7 @@ def get_replica_filename(replica): def domainlevel(host): # Dynamically determines the domainlevel on master. Needed for scenarios # when domainlevel is changed during the test execution. + kinit_admin(host) result = host.run_command(['ipa', 'domainlevel-get'], raiseonerr=False) level = 0 domlevel_re = re.compile('.*(\d)') -- cgit