test: Remove unnecessary assertion

It only fails once in about 1000 times, but that's too many.
It's timing dependent, and the main behavior is covered by the other
assertions in the test anyway.
pull/28770/head
isaacs 2013-08-19 17:43:38 -07:00
parent 6ed861dd7f
commit 85d6b78343
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ function request(i) {
socket.on('close', function() { socket.on('close', function() {
++count; ++count;
if (count < max) { if (count < max) {
assert.equal(http.globalAgent.sockets[name].length, max - count);
assert.equal(http.globalAgent.sockets[name].indexOf(socket), -1); assert.equal(http.globalAgent.sockets[name].indexOf(socket), -1);
} else { } else {
assert(!http.globalAgent.sockets.hasOwnProperty(name)); assert(!http.globalAgent.sockets.hasOwnProperty(name));