diff options
| author | Martin Basti <mbasti@redhat.com> | 2016-01-28 14:13:51 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-01-29 11:52:09 +0100 |
| commit | c5076452d6332284d11bae932ebac1464fe2578a (patch) | |
| tree | 06a3f27a5f50ce796fe12ccf4096c13d67095f26 /ipatests/test_integration | |
| parent | 72e72615df8b178ebbcb2e4944ba289ef263c951 (diff) | |
| download | freeipa-c5076452d6332284d11bae932ebac1464fe2578a.tar.gz freeipa-c5076452d6332284d11bae932ebac1464fe2578a.tar.xz freeipa-c5076452d6332284d11bae932ebac1464fe2578a.zip | |
DNSSEC CI: fix zone delegations
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
| -rw-r--r-- | ipatests/test_integration/test_dnssec.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ipatests/test_integration/test_dnssec.py b/ipatests/test_integration/test_dnssec.py index 111d39855..e90fb1f47 100644 --- a/ipatests/test_integration/test_dnssec.py +++ b/ipatests/test_integration/test_dnssec.py @@ -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 |
