]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests-extra: set number of threads to 1 for dnssec-signzone
authorDaniel Salzman <daniel.salzman@nic.cz>
Tue, 25 Nov 2025 19:26:00 +0000 (20:26 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Tue, 25 Nov 2025 19:26:00 +0000 (20:26 +0100)
tests-extra/tools/zone_generate.py

index 781ea2a70b617a45be1a8234a336b23d6ff28977..3c43cc35da0acbf56b6ac3cde1f8554bb158313d 100755 (executable)
@@ -549,7 +549,7 @@ def main(args):
             nsec3_params = ['-3', binascii.hexlify(os.urandom(random.randint(1, 30))).decode('ascii')]
 
         subprocess.check_output(["dnssec-signzone", "-d", tmp_dir, "-P", "-u", \
-                                 "-k", k2, "-x", "-o", ctx.ORIGIN, \
+                                 "-k", k2, "-x", "-o", ctx.ORIGIN, "-n", "1", \
                                  "-O", "full"] + nsec3_params + [in_fname, k1 + ".key"],
                                  stderr=subprocess.DEVNULL)
         shutil.copyfile(in_fname + '.signed', out_fname)