From: Tomas Krizek Date: Mon, 28 Jan 2019 11:09:18 +0000 (+0100) Subject: daemon/trust_anchors.test: increase max timeout X-Git-Tag: v4.0.0~45^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92dcdd97bddb503d95756452a51aa5dfc684aed2;p=thirdparty%2Fknot-resolver.git daemon/trust_anchors.test: increase max timeout Our CI environment requires a longer timeout during high-load. --- diff --git a/daemon/lua/trust_anchors.test/bootstrap.test.lua b/daemon/lua/trust_anchors.test/bootstrap.test.lua index d5d021867..0fad935a1 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))