Skip to content

Commit 6c92329

Browse files
jakecastellitargos
authored andcommitted
Revert "benchmark: fix broken fs.cpSync benchmark"
This reverts commit 52430b9. PR-URL: #58476 Fixes: #58468 Reviewed-By: Dario Piotrowicz <[email protected]>
1 parent 0d761bb commit 6c92329

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

benchmark/fs/bench-cpSync.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ const tmpdir = require('../../test/common/tmpdir');
88
const bench = common.createBenchmark(main, {
99
n: [1, 100, 10_000],
1010
dereference: ['true', 'false'],
11-
// When `force` is `true` the `cpSync` function is called twice the second
12-
// time however an `ERR_FS_CP_EINVAL` is thrown, so skip `true` for the time being
13-
// TODO: allow `force` to also be `true` once https://github.com/nodejs/node/issues/58468 is addressed
14-
force: ['false'],
11+
force: ['true', 'false'],
1512
});
1613

1714
function prepareTestDirectory() {

0 commit comments

Comments
 (0)