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 gibfahn committed Jan 24, 2018
1 parent 5c3c555 commit 17a7ab4
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 17a7ab4

Please sign in to comment.