Skip to content
Snippets Groups Projects
Verified Commit 92dcdd97 authored by Tomas Krizek's avatar Tomas Krizek
Browse files

daemon/trust_anchors.test: increase max timeout

Our CI environment requires a longer timeout during
high-load.
parent af751620
No related branches found
No related tags found
1 merge request!763daemon/trust_anchors.test: increase max timeout
Pipeline #44690 failed
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment