DNSSEC CI: fix zone delegations

Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
Martin Basti 2016-01-28 14:13:51 +01:00
parent 72e72615df
commit c5076452d6

View File

@ -277,7 +277,7 @@ class TestInstallDNSSECFirst(IntegrationTest):
# make BIND happy: add the glue record and delegate zone
args = [
"ipa", "dnsrecord-add", root_zone, self.master.domain.name,
"ipa", "dnsrecord-add", root_zone, self.master.hostname,
"--a-rec=" + self.master.ip
]
self.master.run_command(args)
@ -313,6 +313,13 @@ class TestInstallDNSSECFirst(IntegrationTest):
self.master.run_command(args)
# delegation
args = [
"ipa", "dnsrecord-add", root_zone, example_test_zone,
"--ns-rec=" + self.master.hostname
]
self.master.run_command(args)
# wait until zone is signed
assert wait_until_record_is_signed(
self.master.ip, example_test_zone, self.log, timeout=100