summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-11-25 16:13:27 -0500
committercjihrig <cjihrig@gmail.com>2019-11-27 18:27:11 -0500
commit4c77a76ad91aaa7c4560c00c298bfcc74e49f573 (patch)
treedcb6a4550d9274b6ce300f95de37ecacb54cdc84 /test
parent7e85f068a48b284a253abcb5eb3173320869b8fe (diff)
downloadandroid-node-v8-4c77a76ad91aaa7c4560c00c298bfcc74e49f573.tar.gz
android-node-v8-4c77a76ad91aaa7c4560c00c298bfcc74e49f573.tar.bz2
android-node-v8-4c77a76ad91aaa7c4560c00c298bfcc74e49f573.zip
fs: remove rimraf's emfileWait option
This commit removes the emfileWait option. EMFILE errors are now handled the same as any other retriable error. 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')
-rw-r--r--test/parallel/test-fs-rmdir-recursive.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/parallel/test-fs-rmdir-recursive.js b/test/parallel/test-fs-rmdir-recursive.js
index 471eb69cb2..53f863872d 100644
--- a/test/parallel/test-fs-rmdir-recursive.js
+++ b/test/parallel/test-fs-rmdir-recursive.js
@@ -155,12 +155,10 @@ function removeAsync(dir) {
// Test input validation.
{
const defaults = {
- emfileWait: 1000,
maxRetries: 0,
recursive: false
};
const modified = {
- emfileWait: 953,
maxRetries: 5,
recursive: true
};
@@ -171,7 +169,6 @@ function removeAsync(dir) {
assert.deepStrictEqual(validateRmdirOptions({
maxRetries: 99
}), {
- emfileWait: 1000,
maxRetries: 99,
recursive: false
});
@@ -197,14 +194,6 @@ function removeAsync(dir) {
});
common.expectsError(() => {
- validateRmdirOptions({ emfileWait: -1 });
- }, {
- code: 'ERR_OUT_OF_RANGE',
- type: RangeError,
- message: /^The value of "emfileWait" is out of range\./
- });
-
- common.expectsError(() => {
validateRmdirOptions({ maxRetries: -1 });
}, {
code: 'ERR_OUT_OF_RANGE',