Browse Source

Fix flanky test on timeout option

http2
Vsevolod Strukchinsky 10 years ago
parent
commit
46d0d4a4f4
  1. 6
      test/test-http.js

6
test/test-http.js

@ -13,8 +13,10 @@ s.on('/empty', function (req, res) {
}); });
s.on('/404', function (req, res) { s.on('/404', function (req, res) {
res.statusCode = 404; setTimeout(function () {
res.end('not'); res.statusCode = 404;
res.end('not');
}, 10);
}); });
tape('setup', function (t) { tape('setup', function (t) {

Loading…
Cancel
Save