Skip to content

Commit 55a95c8

Browse files
lpincaalexfernandez
authored andcommitted
test: reduce the number of requests and parsers
The maximum number of parsers in the free list is set to 1000. However the test does not need to use this maximum. Reduce it to 50. Refs: nodejs#50228 (comment) PR-URL: nodejs#50240 Fixes: nodejs#49564 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
1 parent a63bcba commit 55a95c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/sequential/test-http-regr-gh-2928.js

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const httpCommon = require('_http_common');
88
const { HTTPParser } = require('_http_common');
99
const net = require('net');
1010

11+
httpCommon.parsers.max = 50;
12+
1113
const COUNT = httpCommon.parsers.max + 1;
1214

1315
const parsers = new Array(COUNT);

0 commit comments

Comments
 (0)