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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
zack9433 authored and MylesBorins committed Dec 12, 2017
1 parent d50671b commit 2010b80
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 2010b80

Please sign in to comment.