diff options
author | cjihrig <cjihrig@gmail.com> | 2019-11-25 15:31:44 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-11-27 18:27:11 -0500 |
commit | 7e85f068a48b284a253abcb5eb3173320869b8fe (patch) | |
tree | d29f0cd4a6ed32e156dadc0019b4f920258e8853 /test/parallel | |
parent | 4059055739c1c395c00cf989d77073e862f9dae6 (diff) | |
download | android-node-v8-7e85f068a48b284a253abcb5eb3173320869b8fe.tar.gz android-node-v8-7e85f068a48b284a253abcb5eb3173320869b8fe.tar.bz2 android-node-v8-7e85f068a48b284a253abcb5eb3173320869b8fe.zip |
fs: make rimraf default to 0 retries
This commit makes retries an opt-in feature by defaulting
to no automatic retries. This will be particularly important
once synchronous operations can sleep between attempts.
Refs: https://github.com/nodejs/node/issues/30580
PR-URL: https://github.com/nodejs/node/pull/30644
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel')
-rw-r--r-- | test/parallel/test-fs-rmdir-recursive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-rmdir-recursive.js b/test/parallel/test-fs-rmdir-recursive.js index 6bc7fc6e56..471eb69cb2 100644 --- a/test/parallel/test-fs-rmdir-recursive.js +++ b/test/parallel/test-fs-rmdir-recursive.js @@ -156,7 +156,7 @@ function removeAsync(dir) { { const defaults = { emfileWait: 1000, - maxRetries: 3, + maxRetries: 0, recursive: false }; const modified = { |