Explorar o código

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.
Joe Green %!s(int64=9) %!d(string=hai) anos
pai
achega
beaa198347
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/clsi/app.coffee

+ 1 - 1
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)