Skip to content

Commit a340587

Browse files
ronagcodebytere
authored andcommitted
test: fix flaky http-parser-timeout-reset
Refs: #34578 (comment) PR-URL: #34609 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent 5aed83c commit a340587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-parser-timeout-reset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const server = net.createServer((socket) => {
3434

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

37-
parser[HTTPParser.kOnExecute] = common.mustCall(3);
37+
parser[HTTPParser.kOnExecute] = common.mustCallAtLeast(3);
3838

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

0 commit comments

Comments
 (0)