]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests/integration: fixed missing cache in config
authorMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 30 Jul 2015 17:55:33 +0000 (19:55 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 30 Jul 2015 17:55:33 +0000 (19:55 +0200)
tests/test_integration.py

index bc9537cb254fe69774932e2f9e6f9beeb5415012..62ededf94b645160139d2ca6823e0ec38a03f325 100755 (executable)
@@ -192,6 +192,7 @@ def play_object(path):
     childaddr = testserver.get_local_addr_str(socket.AF_INET,CHILD_IFACE)
     fd = os.open( TMPDIR + "/config", os.O_RDWR|os.O_CREAT )
     os.write(fd, "net.listen('{}',53)\n".format(childaddr) )
+    os.write(fd, "cache.size = 10*MB\n")
     os.write(fd, "modules = {'hints'}\n")
     os.write(fd, "hints.root({['k.root-servers.net'] = '%s'})\n" % selfaddr)
     os.close(fd)