Skip to content

Commit 017379e

Browse files
JackyenMylesBorins
authored andcommitted
test: add common.crashOnHandleRejection
PR-URL: #17225 Reviewed-By: James M Snell <[email protected]>
1 parent ce284fc commit 017379e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-net-server-max-connections-close-makes-more-available.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
'use strict';
2-
require('../common');
2+
const common = require('../common');
33
const assert = require('assert');
44

55
const net = require('net');
6+
common.crashOnUnhandledRejection();
67

78
// Sets the server's maxConnections property to 1.
89
// Open 2 connections (connection 0 and connection 1).

0 commit comments

Comments
 (0)