From beaa198347d40ddad6312bcc3be7d90dee0a1046 Mon Sep 17 00:00:00 2001 From: Joe Green Date: Wed, 29 Nov 2017 11:01:51 +0000 Subject: [PATCH] Increase smoke test interval to 30 seconds The smoke tests can sometimes take ~20 seconds to complete, which causes the http POST to time out. This should solve that problem. --- services/clsi/app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/clsi/app.coffee b/services/clsi/app.coffee index b99b277464..5c79b8ee8a 100644 --- a/services/clsi/app.coffee +++ b/services/clsi/app.coffee @@ -133,7 +133,7 @@ if Settings.smokeTest do runSmokeTest = -> logger.log("running smoke tests") smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher) - setTimeout(runSmokeTest, 20 * 1000) + setTimeout(runSmokeTest, 30 * 1000) app.get "/health_check", (req, res)-> res.contentType(resCacher?.setContentType)