Skip to content

Commit

Permalink
test: fix flaky test-benchmark-fs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Trott authored and MylesBorins committed Jan 9, 2018
1 parent d4d3ff4 commit e47e9b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-benchmark-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
const common = require('../common');
const runBenchmark = require('../common/benchmark');

common.refreshTmpDir();

runBenchmark('fs', [
'n=1',
'size=1',
Expand Down

0 comments on commit e47e9b2

Please sign in to comment.