Commit 6abcd02d authored by Johan Helsing's avatar Johan Helsing

Cleanup comments

parent dc26076d
......@@ -111,7 +111,7 @@ function listenForGerritChanges() {
const testProcess = startDockerTest(test);
testProcess.on('close', code => {
const failed = code != 0; //TODO: Maybe it's only for code === 2 that the test actually failed?
const failed = code != 0;
const commit = `${change.number},${patchSet.number}`;
var message = 'Experimental QtWayland Bot: ' +
`Running headless tests ${commit} ${failed ? 'failed' : 'succeeded'}`;
......@@ -129,6 +129,7 @@ function listenForGerritChanges() {
});
});
// The ssh connection will sometimes disconnect us. In that case, just reconnect.
emitter.on('gerritStreamEnd', () => emitter.start());
console.log("Starting gerrit-watcher");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment