Skip to content

Commit f3d6198

Browse files
TrottMylesBorins
authored andcommitted
test: fix flaky test-benchmark-es
Allow zero iterations for short benchmark in test. PR-URL: #17516 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent e57af5a commit f3d6198

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-benchmark-es.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ runBenchmark('es',
1515
'n=1',
1616
'encoding=ascii',
1717
'size=1e1'
18-
]);
18+
],
19+
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 commit comments

Comments
 (0)