diff options
Diffstat (limited to 'test/simple/test-http-keep-alive.js')
-rw-r--r-- | test/simple/test-http-keep-alive.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/simple/test-http-keep-alive.js b/test/simple/test-http-keep-alive.js index aa03639de..4e8a6e816 100644 --- a/test/simple/test-http-keep-alive.js +++ b/test/simple/test-http-keep-alive.js @@ -42,6 +42,7 @@ server.listen(common.PORT, function() { }, function(response) { assert.equal(agent.sockets[name].length, 1); assert.equal(agent.requests[name].length, 2); + response.resume(); }); http.get({ @@ -49,6 +50,7 @@ server.listen(common.PORT, function() { }, function(response) { assert.equal(agent.sockets[name].length, 1); assert.equal(agent.requests[name].length, 1); + response.resume(); }); http.get({ @@ -59,6 +61,7 @@ server.listen(common.PORT, function() { assert(!agent.requests.hasOwnProperty(name)); server.close(); }); + response.resume(); }); }); |