summaryrefslogtreecommitdiffstats
path: root/tests-extra
diff options
context:
space:
mode:
authorLibor Peltan <libor.peltan@nic.cz>2024-09-04 14:04:32 +0200
committerDaniel Salzman <daniel.salzman@nic.cz>2024-09-04 15:52:38 +0200
commitce059162d7ee9a9a8fae48c21dfdf37c97627e1a (patch)
tree699509282f36cb961774354e85d4e4a797f9ed5b /tests-extra
parentdoc: update the acl.deny item description (diff)
downloadknot-ce059162d7ee9a9a8fae48c21dfdf37c97627e1a.tar.xz
knot-ce059162d7ee9a9a8fae48c21dfdf37c97627e1a.zip
ctl/zone-status: print since when event is running/pending/frozen
Diffstat (limited to 'tests-extra')
-rw-r--r--tests-extra/tests/events/freeze_thaw/test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests-extra/tests/events/freeze_thaw/test.py b/tests-extra/tests/events/freeze_thaw/test.py
index c6a73328d..04945bafb 100644
--- a/tests-extra/tests/events/freeze_thaw/test.py
+++ b/tests-extra/tests/events/freeze_thaw/test.py
@@ -32,11 +32,13 @@ slave.zone_wait(zone)
slave.ctl("zone-freeze")
t.sleep(1)
+slave.ctl("zone-status")
master.update_zonefile(zone, version=1)
master.reload()
master.zone_wait(zone, serial=2, equal=True)
t.sleep(1)
+slave.ctl("zone-status")
# check that slave freezed transfer after obtained notify
resp = slave.dig("added.example.", "A")
@@ -48,6 +50,7 @@ slave.ctl("zone-refresh")
slave.zone_wait(zone, serial=2, equal=True)
resp = slave.dig("added.example.", "A")
resp.check(rcode="NOERROR", rdata="1.2.3.4")
+slave.ctl("zone-status")
# check that update is refused after 8 queued
for i in range(10):
@@ -58,11 +61,13 @@ for i in range(10):
else:
up.send("REFUSED")
t.sleep(0.2)
+ slave.ctl("zone-status")
master.update_zonefile(zone, version=2)
master.reload()
master.zone_wait(zone, serial=3, equal=True)
t.sleep(1)
+slave.ctl("zone-status")
slave.ctl("zone-thaw")
@@ -76,6 +81,7 @@ up = slave.update(zone)
up.add("freezedddns10", 3600, "A", "1.2.3.6")
up.send("NOERROR")
sleep_alt(2, master.valgrind, 4)
+slave.ctl("zone-status")
for i in range(11):
resp = slave.dig("freezedddns" + str(i) + ".example.", "A")