Skip to content

Commit

Permalink
test: fix flaky test-benchmark-buffer
Browse files Browse the repository at this point in the history
Allow zero operations for short buffer benchmark tests.

PR-URL: #16296
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Oct 23, 2017
1 parent 3c98a2e commit 70dab19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sequential/test-benchmark-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ runBenchmark('buffers',
'source=array',
'type=',
'withTotalLength=0'

]);
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 comments on commit 70dab19

Please sign in to comment.