Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f6400 commit 8bc0452Copy full SHA for 8bc0452
benchmark/fs/bench-cpSync.js
@@ -8,7 +8,10 @@ const tmpdir = require('../../test/common/tmpdir');
8
const bench = common.createBenchmark(main, {
9
n: [1, 100, 10_000],
10
dereference: ['true', 'false'],
11
- force: ['true', 'false'],
+ // 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'],
15
});
16
17
function prepareTestDirectory() {
0 commit comments