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 <riclau@uk.ibm.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information
ronag authored and codebytere committed Aug 5, 2020
1 parent 5aed83c commit a340587
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 a340587

Please sign in to comment.