0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

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 2017-10-18 08:56:54 -07:00
parent e647c5d7de
commit 28dcdb9108

View File

@ -20,5 +20,5 @@ runBenchmark('buffers',
'source=array',
'type=',
'withTotalLength=0'
]);
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });