From 7e85f068a48b284a253abcb5eb3173320869b8fe Mon Sep 17 00:00:00 2001 From: cjihrig Date: Mon, 25 Nov 2019 15:31:44 -0500 Subject: 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 Reviewed-By: James M Snell --- test/parallel/test-fs-rmdir-recursive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/parallel') 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 = { -- cgit v1.2.3