Skip to content

Commit

Permalink
test: use common.crashOnUnhandledRejection
Browse files Browse the repository at this point in the history
Deal with crash case for unhandled rejection.
  • Loading branch information
zack9433 committed Nov 22, 2017
1 parent f722d31 commit b0b1af9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/known_issues/test-inspector-cluster-port-clash.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ if (process.config.variables.v8_enable_inspector === 0) {
const cluster = require('cluster');
const net = require('net');

common.crashOnUnhandleRejection();

const ports = [process.debugPort];
const clashPort = process.debugPort + 2;
function serialFork() {
Expand Down

0 comments on commit b0b1af9

Please sign in to comment.