mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-28 09:06:44 -06:00
Fixed incorrect domainlevel determination in tests
https://fedorahosted.org/freeipa/ticket/6167 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
d8fe5863d2
commit
bd5746c538
@ -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)')
|
||||
|
Loading…
Reference in New Issue
Block a user