Patch attached.
From 15e6c98420c9ffc7b840373910a06f251cca653a Mon Sep 17 00:00:00 2001 From: Martin Basti <mba...@redhat.com> Date: Fri, 22 Jan 2016 14:23:53 +0100 Subject: [PATCH] Fix DNSSEC test: add glue record
Missing glue record causes test failure in cases when DNS zone was not managed by IPA DNS --- ipatests/test_integration/test_dnssec.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_dnssec.py b/ipatests/test_integration/test_dnssec.py index 65b1bdaf0e5dd4991b5f4dc1e8173f0fc8ad0537..111d39855b399e52052716cd83da8dfb2213fbee 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 -- 2.5.0
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code