Skip to content

Commit

Permalink
http: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Jul 1, 2022
1 parent 736a7d8 commit d62be4d
Showing 1 changed file 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 d62be4d

Please sign in to comment.