Skip to content

Commit fea5d08

Browse files
TrottMylesBorins
authored andcommitted
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: #17853 Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 3b2d8cb commit fea5d08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-benchmark-fs.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
const common = require('../common');
44
const runBenchmark = require('../common/benchmark');
55

6+
common.refreshTmpDir();
7+
68
runBenchmark('fs', [
79
'n=1',
810
'size=1',

0 commit comments

Comments
 (0)