test: fix flaky test-benchmark-es
Allow zero iterations for short benchmark in test. PR-URL: https://github.com/nodejs/node/pull/17516 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
762ed33931
commit
f01e9e7f69
@ -15,4 +15,5 @@ runBenchmark('es',
|
|||||||
'n=1',
|
'n=1',
|
||||||
'encoding=ascii',
|
'encoding=ascii',
|
||||||
'size=1e1'
|
'size=1e1'
|
||||||
]);
|
],
|
||||||
|
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user