test: fix flaky http-parser-timeout-reset

Refs: https://github.com/nodejs/node/pull/34578#issuecomment-667941698

PR-URL: https://github.com/nodejs/node/pull/34609
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
Robert Nagy authored and Myles Borins committed 2020-08-03 13:47:33 -04:00
1 parent a6a3684984
commit 8d8090b9bb
1 file changed
+1 -1
@@ -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();