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:
Dmitry Gozman 2020-08-17 21:02:26 -07:00 committed by GitHub
parent dfa1f103af
commit 7a77faf194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View file

@ -219,9 +219,6 @@ class OopWorker extends EventEmitter {
process.stderr.write(chunk);
this.stderr.push(chunk);
});
this.on('debug', data => {
process.stderr.write(data + '\n');
});
}
async init() {

View file

@ -14,7 +14,6 @@
* limitations under the License.
*/
const debug = require('debug');
const { fixturePool } = require('./fixturesUI');
const { gracefullyCloseAll } = require('../../lib/server/processLauncher');
const { TestRunner, initializeImageMatcher } = require('./testRunner');
@ -42,10 +41,6 @@ process.stderr.write = chunk => {
sendMessageToParent('stderr', chunkToParams(chunk));
};
debug.log = data => {
sendMessageToParent('debug', data);
};
process.on('disconnect', gracefullyCloseAndExit);
process.on('SIGINT',() => {});
process.on('SIGTERM',() => {});