Commit 006926c2 authored by Petr Špaček's avatar Petr Špaček

trust_anchors: move test web server to port 8080

This is an attempt to avoid conflicts when executing tests in parallel.
parent c57a04d9
Pipeline #44046 canceled with stages
in 4 minutes and 22 seconds
......@@ -51,14 +51,14 @@ local function wait_for_webserver()
local starttime = os.time()
local connected = false
while not connected and os.difftime(os.time(), starttime) < 5 do
local con = socket.connect("localhost", 8053)
local con = socket.connect("localhost", 8080)
connected, msg = pcall(con.connect, con, 5)
cqueues.sleep (0.3)
end
assert(connected, string.format('unable to connect to web server: %s', msg))
end
local host = 'https://localhost:8053/'
local host = 'https://localhost:8080/'
-- avoid interference with configured KEYFILE_DEFAULT
trust_anchors.keyfile_default = nil
......
......@@ -225,7 +225,7 @@ end
local server = M.add_interface({
host = 'localhost',
port = 8053,
port = 8080,
tls = true,
cert = 'x509/server.pem',
key = 'x509/server-key.pem'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment