Skip to content

Commit 22d3525

Browse files
zack9433gibfahn
authored andcommitted
test: use common.crashOnUnhandledRejection
Deal with crash case for unhandled rejection. PR-URL: #17217 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 1474460 commit 22d3525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/known_issues/test-inspector-cluster-port-clash.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if (process.config.variables.v8_enable_inspector === 0) {
2323
const cluster = require('cluster');
2424
const net = require('net');
2525

26+
common.crashOnUnhandleRejection();
27+
2628
const ports = [process.debugPort];
2729
const clashPort = process.debugPort + 2;
2830
function serialFork() {

0 commit comments

Comments
 (0)