mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 14:59:19 +00:00
Don't run smoke test by default
This commit is contained in:
parent
3e4cfc5ba9
commit
10413b876a
2 changed files with 7 additions and 7 deletions
|
@ -50,10 +50,11 @@ resCacher =
|
|||
body:{}
|
||||
setContentType:"application/json"
|
||||
|
||||
do runSmokeTest = ->
|
||||
logger.log("running smoke tests")
|
||||
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher)
|
||||
setTimeout(runSmokeTest, 20 * 1000)
|
||||
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)
|
||||
|
||||
app.get "/health_check", (req, res)->
|
||||
res.contentType(resCacher?.setContentType)
|
||||
|
|
|
@ -11,7 +11,6 @@ module.exports =
|
|||
dialect: "sqlite"
|
||||
storage: Path.resolve(__dirname + "/../db.sqlite")
|
||||
|
||||
|
||||
path:
|
||||
compilesDir: Path.resolve(__dirname + "/../compiles")
|
||||
clsiCacheDir: Path.resolve(__dirname + "/../cache")
|
||||
|
@ -36,5 +35,5 @@ module.exports =
|
|||
apis:
|
||||
clsi:
|
||||
url: "http://localhost:3013"
|
||||
|
||||
|
||||
|
||||
smokeTest: false
|
||||
|
|
Loading…
Reference in a new issue