test: fix flaky test-benchmark-querystring
Allow zero iterations for short benchmark in test. PR-URL: https://github.com/nodejs/node/pull/17517 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
parent
e55b7d6286
commit
09e9e2bd82
@ -4,8 +4,9 @@ require('../common');
|
|||||||
|
|
||||||
const runBenchmark = require('../common/benchmark');
|
const runBenchmark = require('../common/benchmark');
|
||||||
|
|
||||||
runBenchmark('querystring', [
|
runBenchmark('querystring',
|
||||||
'n=1',
|
[ 'n=1',
|
||||||
'input="there is nothing to unescape here"',
|
'input="there is nothing to unescape here"',
|
||||||
'type=noencode'
|
'type=noencode'
|
||||||
]);
|
],
|
||||||
|
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user