Commit f4ae1631 authored by Tomas Krizek's avatar Tomas Krizek

Merge branch 'ta-test-timeout' into 'master'

daemon/trust_anchors.test: increase max timeout

See merge request !763
parents af751620 92dcdd97
Pipeline #44725 failed with stages
in 8 minutes and 34 seconds
......@@ -50,9 +50,9 @@ end
local function wait_for_webserver()
local starttime = os.time()
local connected = false
while not connected and os.difftime(os.time(), starttime) < 5 do
while not connected and os.difftime(os.time(), starttime) < 10 do
local con = socket.connect("localhost", 8080)
connected, msg = pcall(con.connect, con, 5)
connected, msg = pcall(con.connect, con, 3)
cqueues.sleep (0.3)
end
assert(connected, string.format('unable to connect to web server: %s', msg))
......
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