Browse Source

test: 2 resume() calls needed to flush streams

v0.9.4-release
isaacs 12 years ago
parent
commit
f3f4e290e0
  1. 1
      test/fixtures/GH-892-request.js
  2. 1
      test/pummel/test-http-upload-timeout.js

1
test/fixtures/GH-892-request.js

@ -40,6 +40,7 @@ var req = https.request(options, function(res) {
assert.equal(200, res.statusCode);
gotResponse = true;
console.error('DONE');
res.resume();
});
req.end(new Buffer(bytesExpected));

1
test/pummel/test-http-upload-timeout.js

@ -41,6 +41,7 @@ server.on('request', function(req, res) {
server.close();
}
});
req.resume();
});
server.listen(common.PORT, '127.0.0.1', function() {

Loading…
Cancel
Save