Skip to content

Commit

Permalink
test: make sure http pipelining does not emit a warning
Browse files Browse the repository at this point in the history
PR-URL: #37964
Refs: #37937
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
mcollina authored and lpinca committed Mar 31, 2021
1 parent 2fa7d33 commit 31fe3b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-http-many-ended-pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
require('../common');
const common = require('../common');

// No warnings should happen!
const trace = console.trace;
Expand Down Expand Up @@ -59,3 +59,5 @@ server.listen(0, function() {
client.end();
client.pipe(process.stdout);
});

process.on('warning', common.mustNotCall());

0 comments on commit 31fe3b2

Please sign in to comment.