-- Oleg Fayans Quality Engineer FreeIPA team RedHat.
From 2deee8b3baeb091904eb7c2ba61b90e669cc8df2 Mon Sep 17 00:00:00 2001 From: Oleg Fayans <ofay...@redhat.com> Date: Thu, 4 Aug 2016 09:22:31 +0200 Subject: [PATCH] Fixed incorrect domainlevel determination in tests
https://fedorahosted.org/freeipa/ticket/6167 --- ipatests/test_integration/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 7f6c79e65cda31bdba3d882a72bb5e2dcdb1f355..b01738aa14594560f70c98ccfb1faf25f44559b2 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)') -- 1.8.3.1
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code