Skip to content

Commit

Permalink
http: fix failing test
Browse files Browse the repository at this point in the history
PR-URL: #43641
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
  • Loading branch information
ShogunPanda committed Jul 2, 2022
1 parent 2014608 commit c753f27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-stream-finished.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit c753f27

Please sign in to comment.