use process id so link process to smoke test

This commit is contained in:
Henry Oswald 2016-06-07 14:47:51 +01:00
parent f0dc5d6f86
commit 989c178546

View file

@ -6,9 +6,7 @@ Settings = require "settings-sharelatex"
buildUrl = (path) -> "http://#{Settings.internal.clsi.host}:#{Settings.internal.clsi.port}/#{path}"
random = require("crypto").randomBytes(4).toString("hex")
url = buildUrl("project/smoketest-#{random}/compile")
url = buildUrl("project/smoketest-#{process.pid}/compile")
describe "Running a compile", ->
before (done) ->