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 11, 2020
1 parent 7c4e1db commit 283f5c3
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 283f5c3

Please sign in to comment.