From d62be4d8afcb802154a9c5d60ac486299200c0ae Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Fri, 1 Jul 2022 13:39:05 +0200 Subject: [PATCH 1/2] http: fix failing test --- test/parallel/test-stream-finished.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-stream-finished.js b/test/parallel/test-stream-finished.js index 47138e878e4407..a574a4a65342e2 100644 --- a/test/parallel/test-stream-finished.js +++ b/test/parallel/test-stream-finished.js @@ -660,7 +660,9 @@ testClosed((opts) => new Writable({ write() {}, ...opts })); { method: 'GET', port: this.address().port }, common.mustCall(function(res) { res.resume(); - server.close(); + finished(res, common.mustCall(() => { + server.close(); + })); }) ).end(); }); From 64cf037bbed14662612d950de465a9273ab6bd86 Mon Sep 17 00:00:00 2001 From: Paolo Insogna Date: Fri, 1 Jul 2022 16:29:04 +0200 Subject: [PATCH 2/2] http: moved test to sequential --- test/{parallel => sequential}/test-gc-http-client-timeout.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/{parallel => sequential}/test-gc-http-client-timeout.js (100%) diff --git a/test/parallel/test-gc-http-client-timeout.js b/test/sequential/test-gc-http-client-timeout.js similarity index 100% rename from test/parallel/test-gc-http-client-timeout.js rename to test/sequential/test-gc-http-client-timeout.js