From b8265285ff2d92bfe2c4748aa32747a232b35c33 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 14 Dec 2017 10:58:19 -0800 Subject: [PATCH] test: fix flaky test-benchmark-misc Allow zero results for short benchmark test. PR-URL: https://github.com/nodejs/node/pull/17686 Reviewed-By: Colin Ihrig Reviewed-By: Anatoli Papirovski Reviewed-By: James M Snell --- test/parallel/test-benchmark-misc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-benchmark-misc.js b/test/parallel/test-benchmark-misc.js index df3bae4706a2c5..52f568f97428fb 100644 --- a/test/parallel/test-benchmark-misc.js +++ b/test/parallel/test-benchmark-misc.js @@ -11,4 +11,4 @@ runBenchmark('misc', [ 'n=1', 'type=extend', 'val=magyarország.icom.museum' -]); +], { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });