summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-01-22 14:23:53 +0100
committerMartin Basti <mbasti@redhat.com>2016-01-25 13:27:38 +0100
commitcdf08a0a869f83a6111d9560b69c582d2c04f89c (patch)
treefe35f8149f1efe75e963d9e86b0b5f809c309082 /ipatests/test_integration
parent6896035af2c5ba7468fdab183a385c4a88a1ab77 (diff)
downloadfreeipa-cdf08a0a869f83a6111d9560b69c582d2c04f89c.tar.gz
freeipa-cdf08a0a869f83a6111d9560b69c582d2c04f89c.tar.xz
freeipa-cdf08a0a869f83a6111d9560b69c582d2c04f89c.zip
Fix DNSSEC test: add glue record
Missing glue record causes test failure in cases when DNS zone was not managed by IPA DNS Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r--ipatests/test_integration/test_dnssec.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/ipatests/test_integration/test_dnssec.py b/ipatests/test_integration/test_dnssec.py
index 65b1bdaf0..111d39855 100644
--- a/ipatests/test_integration/test_dnssec.py
+++ b/ipatests/test_integration/test_dnssec.py
@@ -275,7 +275,14 @@ class TestInstallDNSSECFirst(IntegrationTest):
]
self.master.run_command(args)
- # make BIND happy, and delegate zone which contains A record of master
+ # make BIND happy: add the glue record and delegate zone
+ args = [
+ "ipa", "dnsrecord-add", root_zone, self.master.domain.name,
+ "--a-rec=" + self.master.ip
+ ]
+ self.master.run_command(args)
+ time.sleep(10) # sleep a bit until data are provided by bind-dyndb-ldap
+
args = [
"ipa", "dnsrecord-add", root_zone, self.master.domain.name,
"--ns-rec=" + self.master.hostname