Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

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: nodejs/node#16296
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott authored and addaleax committed Oct 26, 2017
1 parent f0fe941 commit 5d51c99
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 5d51c99

Please sign in to comment.