summaryrefslogtreecommitdiffstats
path: root/tests-extra
diff options
context:
space:
mode:
authorLibor Peltan <libor.peltan@nic.cz>2024-07-12 08:34:30 +0200
committerDaniel Salzman <daniel.salzman@nic.cz>2024-07-15 22:12:04 +0200
commitf2558d243a82b9c2b7a34f15a51a4480ddc7ba6e (patch)
tree618fe4f99ea51bf9e929db830397246273a66891 /tests-extra
parenttests-extra: add random knsupdate and protocol selection to some DDNS tests (diff)
downloadknot-f2558d243a82b9c2b7a34f15a51a4480ddc7ba6e.tar.xz
knot-f2558d243a82b9c2b7a34f15a51a4480ddc7ba6e.zip
tests: quic/ddns hardened
Diffstat (limited to 'tests-extra')
-rw-r--r--tests-extra/tests/quic/ddns/test.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests-extra/tests/quic/ddns/test.py b/tests-extra/tests/quic/ddns/test.py
index e22fb98e2..44867dcc7 100644
--- a/tests-extra/tests/quic/ddns/test.py
+++ b/tests-extra/tests/quic/ddns/test.py
@@ -34,12 +34,13 @@ t.start()
s_sender = sender.zones_wait(zones)
for z in zones:
sender.ctl("zone-ksk-submitted " + z.name) # speedup DNSKEY sync re-try
-s_recver = recver.zones_wait(zones, s_sender, equal=True) # DDNS from sender should increment the serial to equal sender after first signing
+t.sleep(5)
+s_sender = sender.zones_wait(zones)
+s_recver = recver.zones_wait(zones)
check_dnskey(sender, recver, zones)
-s_sender = sender.zones_wait(zones) # update s_sender to match current state
-recver.ctl("zone-freeze")
+recver.ctl("zone-freeze", wait=True)
for z in zones:
sender.ctl("zone-key-rollover %s zsk" % z.name)
@@ -48,7 +49,7 @@ s_sender = sender.zones_wait(zones, s_sender)
s_sender = sender.zones_wait(zones, s_sender)
s_sender = sender.zones_wait(zones, s_sender)
-recver.ctl("zone-thaw")
+recver.ctl("zone-thaw", wait=True)
s_recver = recver.zones_wait(zones, s_recver)
check_dnskey(sender, recver, zones)