Skip to content
Browse files

test: add test for _setSimultaneousAccepts()

Add a test case that verifies that calling _setSimultaneousAccepts()
function twice does not trigger the deprecation warning twice.

PR-URL: #24180
Reviewed-By: James M Snell <>
Reviewed-By: Anna Henningsen <>
Reviewed-By: Ruben Bridgewater <>
  • Loading branch information...
amel-true authored and gireeshpunathil committed Nov 6, 2018
1 parent 531d854 commit 3235d318dce78799d244661eb72ed755e4e3fd1e
Showing with 12 additions and 0 deletions.
  1. +12 −0 test/parallel/test-net-server-simultaneous-accepts-produce-warning-once.js
@@ -0,0 +1,12 @@
'use strict';

const { expectWarning } = require('../common');
const net = require('net');

'net._setSimultaneousAccepts() is deprecated and will be removed.',


0 comments on commit 3235d31

Please sign in to comment.
You can’t perform that action at this time.