diff options
| author | Martin Basti <mbasti@redhat.com> | 2015-10-16 14:09:37 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2015-10-22 18:24:53 +0200 |
| commit | f2032ca2cab3048021956707ec4ff74be69108d4 (patch) | |
| tree | 0fbdcf6eb30c9c03f540fa00165c95b98e1b6e1f | |
| parent | ccae42bedae09d7380e38a67cc33f776ff9a953a (diff) | |
DNSSEC CI: wait until DS records is replicated
In some cases replication may take much more time than we expected. This
patch adds explicit cech if DS records has been replicated.
Reviewed-By: Petr Spacek <pspacek@redhat.com>
| -rw-r--r-- | ipatests/test_integration/test_dnssec.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_dnssec.py b/ipatests/test_integration/test_dnssec.py index 66e67a6ef..5d6acb7cc 100644 --- a/ipatests/test_integration/test_dnssec.py +++ b/ipatests/test_integration/test_dnssec.py @@ -350,6 +350,12 @@ class TestInstallDNSSECFirst(IntegrationTest): self.master.run_command(args) + # wait until DS records it replicated + assert wait_until_record_is_signed( + self.replicas[0].ip, example_test_zone, self.log, timeout=100, + rtype="DS" + ), "No DS record of '%s' returned from replica" % example_test_zone + # extract DSKEY from root zone ans = resolve_with_dnssec(self.master.ip, root_zone, self.log, rtype="DNSKEY") |
