diff --git a/daemon/lua/trust_anchors.test/bootstrap.test.lua b/daemon/lua/trust_anchors.test/bootstrap.test.lua index d5d021867d5aa815cd50bf914ecbf3231eb60be1..0fad935a18b0470ccce0e0632b0c600e0383e3f9 100644 --- a/daemon/lua/trust_anchors.test/bootstrap.test.lua +++ b/daemon/lua/trust_anchors.test/bootstrap.test.lua @@ -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))