From 2327a582384d94e2dd3edbb3e87e8be3af1b30b8 Mon Sep 17 00:00:00 2001 From: Steve Herzog Date: Mon, 6 Feb 2023 13:12:24 -0600 Subject: [PATCH] remove redundant test --- .../test-http-early-hints-invalid-argument.js | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/test/parallel/test-http-early-hints-invalid-argument.js b/test/parallel/test-http-early-hints-invalid-argument.js index ffcda11891c5c0..f776bcafa40ed3 100644 --- a/test/parallel/test-http-early-hints-invalid-argument.js +++ b/test/parallel/test-http-early-hints-invalid-argument.js @@ -47,24 +47,3 @@ const testResBody = 'response content\n'; req.on('information', common.mustNotCall()); })); } - -{ - const server = http.createServer(common.mustCall((req, res) => { - debug('Server sending early hints...'); - - debug('Server sending full response...'); - res.end(testResBody); - server.close(); - })); - - server.listen(0, common.mustCall(() => { - const req = http.request({ - port: server.address().port, path: '/' - }); - - req.end(); - debug('Client sending request...'); - - req.on('information', common.mustNotCall()); - })); -}