Skip to content

Commit

Permalink
test: fix flaky http-parser-timeout-reset
Browse files Browse the repository at this point in the history
Refs: #34578 (comment)

PR-URL: #34609
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
  • Loading branch information
ronag authored and MylesBorins committed Aug 3, 2020
1 parent a6a3684 commit 8d8090b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-parser-timeout-reset.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const server = net.createServer((socket) => {

parser[HTTPParser.kOnHeaders] = common.mustNotCall();

parser[HTTPParser.kOnExecute] = common.mustCall(3);
parser[HTTPParser.kOnExecute] = common.mustCallAtLeast(3);

parser[HTTPParser.kOnHeadersComplete] = common.mustCall();

Expand Down

0 comments on commit 8d8090b

Please sign in to comment.