diff --git a/test/parallel/test-net-server-try-ports.js b/test/parallel/test-net-server-try-ports.js index 742062abf62690..653170ced22415 100644 --- a/test/parallel/test-net-server-try-ports.js +++ b/test/parallel/test-net-server-try-ports.js @@ -5,19 +5,15 @@ var common = require('../common'); var assert = require('assert'); var net = require('net'); -var connections = 0; - var server1listening = false; var server2listening = false; var server2eaddrinuse = false; var server1 = net.Server(function(socket) { - connections++; socket.destroy(); }); var server2 = net.Server(function(socket) { - connections++; socket.destroy(); });