Commit 675eb6d8 authored by Vitezslav Kriz's avatar Vitezslav Kriz

zone-size-limit: update test ixfr/transfer_size

parent 1b28557f
$ORIGIN example.com.
$TTL 3600
@ SOA dns1 hostmaster 2010111200 10800 3600 1209600 7200
NS dns1
dns1 A 192.0.2.1
A 192.0.2.2
$ORIGIN example.com.
$TTL 3600
@ SOA dns1 hostmaster 2010111201 10800 3600 1209600 7200
@ SOA dns1 hostmaster 2010111202 10800 3600 1209600 7200
NS dns1
dns1 A 192.0.2.1
......
......@@ -7,12 +7,10 @@ from dnstest.test import Test
t = Test()
master1 = t.server("knot")
master2 = t.server("knot")
slave = t.server("knot")
zone = t.zone("example.com.", storage=".")
zone = t.zone("example.com.", storage=".", version=1)
slave.zone_size_limit = 230
t.link(zone, master1, slave, ixfr=True)
t.link(zone, master2, slave, ixfr=True)
t.start()
......@@ -28,11 +26,6 @@ master1.reload()
master1.zone_wait(zone, serial)
t.sleep(10)
master2.update_zonefile(zone, version=1) # smaller zone
master2.reload()
slave.zone_wait(zone, serial)
resp = slave.dig("test.example.com.", "TXT")
resp.check("passed")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment