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: #17516
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott authored and gibfahn committed Dec 20, 2017
1 parent e00a4f3 commit 24305da
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 24305da

Please sign in to comment.