mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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.
This commit is contained in:
1 parent
6ed861dd7f
commit
85d6b78343
1 file changed
-1
@@ -53,7 +53,6 @@ function request(i) {
|
||||
socket.on('close', function() {
|
||||
++count;
|
||||
if (count < max) {
|
||||
assert.equal(http.globalAgent.sockets[name].length, max - count);
|
||||
assert.equal(http.globalAgent.sockets[name].indexOf(socket), -1);
|
||||
} else {
|
||||
assert(!http.globalAgent.sockets.hasOwnProperty(name));
|
||||
|
||||
Reference in new issue
Block a user