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.

PR-URL: https://github.com/nodejs/node/pull/17853
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
Rich Trott authored and Myles Borins committed 2018-01-09 04:32:35 -05:00
1 parent 3b2d8cba23
commit fea5d08d65
1 file changed
+2
+2
View File
@@ -3,6 +3,8 @@
const common = require('../common');
const runBenchmark = require('../common/benchmark');
common.refreshTmpDir();
runBenchmark('fs', [
'n=1',
'size=1',