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 <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
  • Loading branch information
ShogunPanda authored and targos committed Jul 12, 2022
1 parent 043756d commit e6d4837
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 e6d4837

Please sign in to comment.