Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c95ccfd

Browse filesBrowse files
Jackyengibfahn
authored andcommitted
test: add common.crashOnHandleRejection
PR-URL: #17225 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent eb1f8c5 commit c95ccfd
Copy full SHA for c95ccfd

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-net-server-max-connections-close-makes-more-available.js
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.