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.

PR-URL: #17217
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
zack9433 authored and gibfahn committed Dec 20, 2017
1 parent 1474460 commit 22d3525
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 22d3525

Please sign in to comment.