]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests/config/doh2.test.lua: restore commented-out randomization
authorOto Šťáva <oto.stava@nic.cz>
Tue, 15 Nov 2022 07:22:41 +0000 (08:22 +0100)
committerOto Šťáva <oto.stava@nic.cz>
Thu, 26 Jan 2023 11:56:08 +0000 (12:56 +0100)
tests/config/doh2.test.lua

index c35c7a4f7d4d7b84f8f8dda54311bf1d912aa38e..2360e7f48f60a958fc431bf3762b57f41e48ae6f 100644 (file)
@@ -77,8 +77,7 @@ end
 local bound, port
 local host = '127.0.0.1'
 for _  = 1,10 do
-       --port = math.random(30000, 39999)
-       port = 30000
+       port = math.random(30000, 39999)
        bound = pcall(net.listen, host, port, { kind = 'doh2'})
        if bound then
                break