Skip to content

Commit 2010b80

Browse files
zack9433MylesBorins
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 d50671b commit 2010b80

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

+2
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)