Skip to content

Commit 7d3a843

Browse files
TrottMylesBorins
authored andcommitted
test: fix flaky test-benchmark-querystring
Allow zero iterations for short benchmark in test. PR-URL: #17517 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 89d31ee commit 7d3a843

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/parallel/test-benchmark-querystring.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ require('../common');
44

55
const runBenchmark = require('../common/benchmark');
66

7-
runBenchmark('querystring', [
8-
'n=1',
9-
'input="there is nothing to unescape here"',
10-
'type=noencode'
11-
]);
7+
runBenchmark('querystring',
8+
[ 'n=1',
9+
'input="there is nothing to unescape here"',
10+
'type=noencode'
11+
],
12+
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 commit comments

Comments
 (0)