Skip to content

Commit b0b1af9

Browse files
committed
test: use common.crashOnUnhandledRejection
Deal with crash case for unhandled rejection.
1 parent f722d31 commit b0b1af9

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)