summaryrefslogtreecommitdiffstats
path: root/tests-extra
diff options
context:
space:
mode:
authorLibor Peltan <libor.peltan@nic.cz>2016-12-01 19:35:05 +0100
committerLibor Peltan <libor.peltan@nic.cz>2017-01-04 12:57:23 +0100
commit9775d0ea715f281cdf4e126b4707a75ee597f34c (patch)
treef8e8e77e601f52c094bdb4383334723a74422f02 /tests-extra
parentRevert "namedb/lmdb: make sure the freelist can always hold db tree index" (diff)
downloadknot-9775d0ea715f281cdf4e126b4707a75ee597f34c.tar.xz
knot-9775d0ea715f281cdf4e126b4707a75ee597f34c.zip
Journal: re-implemented completely, LMDB, all zones in one db
Diffstat (limited to 'tests-extra')
-rw-r--r--tests-extra/tools/dnstest/server.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests-extra/tools/dnstest/server.py b/tests-extra/tools/dnstest/server.py
index 57e9188ff..1e12368fa 100644
--- a/tests-extra/tools/dnstest/server.py
+++ b/tests-extra/tools/dnstest/server.py
@@ -119,7 +119,7 @@ class Server(object):
self.disable_any = None
self.disable_notify = None
self.zonefile_sync = None
- self.journal_size = None
+ self.journal_size = 20 * 1024 * 1024
self.zone_size_limit = None
self.inquirer = None
@@ -1048,8 +1048,6 @@ class Knot(Server):
s.item_str("zonefile-sync", self.zonefile_sync)
else:
s.item_str("zonefile-sync", "1d")
- if self.journal_size:
- s.item_str("max-journal-size", self.journal_size)
s.item_str("semantic-checks", "on")
if self.disable_any:
s.item_str("disable-any", "on")
@@ -1062,6 +1060,7 @@ class Knot(Server):
s.item("global-module", "[%s]" % modules)
if self.zone_size_limit:
s.item("max-zone-size", self.zone_size_limit)
+ s.item_str("max-journal-usage", self.journal_size)
s.end()
s.begin("zone")