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 MylesBorins committed Dec 12, 2017
1 parent e57af5a commit f3d6198
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 f3d6198

Please sign in to comment.