From b5c7dad95a60d3be5a697d4dc5b4037090ea5211 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 1 Dec 2019 21:10:54 -0800 Subject: [PATCH] test: fix test-benchmark-streams test-benchmark-streams is currently failing because the `sync` option is not specified in the test, resulting in too many benchmarks running. PR-URL: https://github.com/nodejs/node/pull/30757 Reviewed-By: Beth Griggs Reviewed-By: Ruben Bridgewater --- test/benchmark/test-benchmark-streams.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/benchmark/test-benchmark-streams.js b/test/benchmark/test-benchmark-streams.js index f90838794cdf2a..51cdace5748fa4 100644 --- a/test/benchmark/test-benchmark-streams.js +++ b/test/benchmark/test-benchmark-streams.js @@ -7,7 +7,8 @@ const runBenchmark = require('../common/benchmark'); runBenchmark('streams', [ 'kind=duplex', + 'n=1', + 'sync=no', 'type=buffer', - 'n=1' ], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });