summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration
diff options
context:
space:
mode:
authorOleg Fayans <ofayans@redhat.com>2015-12-17 16:25:46 +0100
committerMartin Basti <mbasti@redhat.com>2015-12-21 15:10:56 +0100
commitb12ba14e3d07b5f2d8dd50245407da029ae7dc54 (patch)
treebeee19ddff96000d5f02acc07c2f747223d4787a /ipatests/test_integration
parent36e85b10db7a8671c9116233ab4497ac6410a4a2 (diff)
downloadfreeipa-b12ba14e3d07b5f2d8dd50245407da029ae7dc54.tar.gz
freeipa-b12ba14e3d07b5f2d8dd50245407da029ae7dc54.tar.xz
freeipa-b12ba14e3d07b5f2d8dd50245407da029ae7dc54.zip
CI tests: Added domain realm as a parameter to master installation in integration tests
Without realm provided explicitly, installation calculates it automatically from the current hostname which may be inconsistent with the configured domain name. Which, in turn, causes failures in integration tests in the lab. Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r--ipatests/test_integration/tasks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py
index 4a94edd60..a09157f6a 100644
--- a/ipatests/test_integration/tasks.py
+++ b/ipatests/test_integration/tasks.py
@@ -268,7 +268,8 @@ def install_master(host, setup_dns=True, setup_kra=False):
args = [
'ipa-server-install', '-U',
- '-r', host.domain.name,
+ '-n', host.domain.name,
+ '-r', host.domain.realm,
'-p', host.config.dirman_password,
'-a', host.config.admin_password,
"--domain-level=%i" % host.config.domain_level