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(); }); 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