Skip to content
Snippets Groups Projects
Commit 96a56646 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

tests-extra: reduce generated zone size if not specified

parent 1ed5091a
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ master = t.server("knot")
slave = t.server("knot")
# Zone setup
zone = t.zone_rnd(1, dnssec=False)
zone = t.zone_rnd(1, records=5, dnssec=False)
t.link(zone, master, slave, ixfr=True, ddns=True)
# Turn automatic DNSSEC on
......
......@@ -106,7 +106,7 @@ class ZoneFile(object):
if nsec3 == None:
nsec3 = random.choice([True, False])
if not records:
records = random.randint(1, 1000)
records = random.randint(1, 200)
if not serial:
serial = random.randint(1, 4294967295)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment