Permalink
Browse files

test: add common.crashOnHandleRejection

PR-URL: #17225
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
Jackyen authored and MylesBorins committed Nov 22, 2017
1 parent 7cbdeef commit 89f1b6c041795b7ad690b9905e66c1ecf0525fdf
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/parallel/test-net-server-max-connections-close-makes-more-available.js
@@ -1,8 +1,9 @@
'use strict';
require('../common');
const common = require('../common');
const assert = require('assert');
const net = require('net');
common.crashOnUnhandledRejection();
// Sets the server's maxConnections property to 1.
// Open 2 connections (connection 0 and connection 1).

0 comments on commit 89f1b6c

Please sign in to comment.