Browse Source

Remove artificial timeout from test-https-large-response

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
e0e52f930e
  1. 6
      test/pummel/test-https-large-response.js

6
test/pummel/test-https-large-response.js

@ -28,10 +28,6 @@ var server = https.createServer(options, function (req, res) {
var count = 0; var count = 0;
var gotResEnd = false; var gotResEnd = false;
var timeout = setTimeout(function() {
process.exit(1);
}, 10*1000);
server.listen(common.PORT, function () { server.listen(common.PORT, function () {
https.get({ port: common.PORT }, function(res) { https.get({ port: common.PORT }, function(res) {
console.log("response!"); console.log("response!");
@ -51,8 +47,6 @@ server.listen(common.PORT, function () {
console.log(" got: ", count); console.log(" got: ", count);
server.close(); server.close();
gotResEnd = true; gotResEnd = true;
clearTimeout(timeout);
}); });
}); });
}); });

Loading…
Cancel
Save