From 3692570df02c69fc31b78b4a5edb741a1e35f465 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. --- app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.coffee b/app.coffee index b99b277..5c79b8e 100644 --- a/app.coffee +++ b/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)