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.
This commit is contained in:
Joe Green 2017-11-29 11:01:51 +00:00 committed by GitHub
parent 18a76f6bcb
commit beaa198347

View file

@ -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)