Skip to content

Commit

Permalink
test: fix flaky test-benchmark-es
Browse files Browse the repository at this point in the history
Allow zero iterations for short benchmark in test.

PR-URL: nodejs#17516
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott committed Dec 9, 2017
1 parent 762ed33 commit f01e9e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-benchmark-es.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ runBenchmark('es',
'n=1',
'encoding=ascii',
'size=1e1'
]);
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 comments on commit f01e9e7

Please sign in to comment.