fix(testrunner): do not override debug.log (#3505)
Otherwise, our DEBUG_FILE is ignored and we dump all DEBUG on the bots.
This commit is contained in:
parent
dfa1f103af
commit
7a77faf194
|
|
@ -219,9 +219,6 @@ class OopWorker extends EventEmitter {
|
||||||
process.stderr.write(chunk);
|
process.stderr.write(chunk);
|
||||||
this.stderr.push(chunk);
|
this.stderr.push(chunk);
|
||||||
});
|
});
|
||||||
this.on('debug', data => {
|
|
||||||
process.stderr.write(data + '\n');
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const debug = require('debug');
|
|
||||||
const { fixturePool } = require('./fixturesUI');
|
const { fixturePool } = require('./fixturesUI');
|
||||||
const { gracefullyCloseAll } = require('../../lib/server/processLauncher');
|
const { gracefullyCloseAll } = require('../../lib/server/processLauncher');
|
||||||
const { TestRunner, initializeImageMatcher } = require('./testRunner');
|
const { TestRunner, initializeImageMatcher } = require('./testRunner');
|
||||||
|
|
@ -42,10 +41,6 @@ process.stderr.write = chunk => {
|
||||||
sendMessageToParent('stderr', chunkToParams(chunk));
|
sendMessageToParent('stderr', chunkToParams(chunk));
|
||||||
};
|
};
|
||||||
|
|
||||||
debug.log = data => {
|
|
||||||
sendMessageToParent('debug', data);
|
|
||||||
};
|
|
||||||
|
|
||||||
process.on('disconnect', gracefullyCloseAndExit);
|
process.on('disconnect', gracefullyCloseAndExit);
|
||||||
process.on('SIGINT',() => {});
|
process.on('SIGINT',() => {});
|
||||||
process.on('SIGTERM',() => {});
|
process.on('SIGTERM',() => {});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue