test: fix flaky test-benchmark-buffer

Allow zero operations for short buffer benchmark tests.

PR-URL: https://github.com/nodejs/node/pull/16296
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Rich Trott committed 2017-10-18 12:00:04 -07:00
1 parent e647c5d7de
commit 28dcdb9108
1 file changed
+2 -2
+2 -2
View File
@@ -20,5 +20,5 @@ runBenchmark('buffers',
'source=array',
'type=',
'withTotalLength=0'
]);
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });