From 1b302b61151d14ab1caa1bebc22ae1e0e35619f3 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 24 Dec 2017 14:10:20 -0800 Subject: [PATCH] test: fix flaky test-benchmark-fs test-benchmark-fs uses common.tmpDir without first insuring it exists by calling common.refreshTmpDir(). Add that function call. --- test/parallel/test-benchmark-fs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-benchmark-fs.js b/test/parallel/test-benchmark-fs.js index 415eb1896b69a8..bf6bf3580d50cd 100644 --- a/test/parallel/test-benchmark-fs.js +++ b/test/parallel/test-benchmark-fs.js @@ -3,6 +3,8 @@ const common = require('../common'); const runBenchmark = require('../common/benchmark'); +common.refreshTmpDir(); + runBenchmark('fs', [ 'n=1', 'size=1',