Skip to content

Commit 28dcdb9

Browse files
committed
test: fix flaky test-benchmark-buffer
Allow zero operations for short buffer benchmark tests. PR-URL: #16296 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent e647c5d commit 28dcdb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sequential/test-benchmark-buffer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ runBenchmark('buffers',
2020
'source=array',
2121
'type=',
2222
'withTotalLength=0'
23-
24-
]);
23+
],
24+
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 commit comments

Comments
 (0)