]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests/pytests: set a small cache size
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 8 Jan 2020 13:06:38 +0000 (14:06 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 8 Jan 2020 15:16:51 +0000 (16:16 +0100)
With preallocation, the cache for the parallel pytests has to be
small enough so there's enough space to fit multiple of them in
the tmpfs of test machine.

tests/pytests/templates/kresd.conf.j2

index 72f0ee1a7f9262a97018a77f525d418792e55fd6..689e1bc514de3678d3294681d73738e368f9a024 100644 (file)
@@ -48,3 +48,6 @@ modules.unload("ta_update")
 modules.unload("ta_signal_query")
 modules.unload("priming")
 modules.unload("detect_time_skew")
+
+-- choose a small cache, since it is preallocated
+cache.size = 1 * MB