summaryrefslogtreecommitdiff
path: root/test/async-hooks/test-statwatcher.js
diff options
context:
space:
mode:
authorJoão Reis <reis@janeasystems.com>2019-06-18 10:45:29 +0100
committerRich Trott <rtrott@gmail.com>2019-06-18 21:21:31 -0700
commit82fe33f18abcb09605288d946e5142ddc5777419 (patch)
tree335e32db1e9fe020f2e4037e2cb6b840c5c06cad /test/async-hooks/test-statwatcher.js
parente58584639844f67ab26154d2a0fd5ddee08f7162 (diff)
downloadandroid-node-v8-82fe33f18abcb09605288d946e5142ddc5777419.tar.gz
android-node-v8-82fe33f18abcb09605288d946e5142ddc5777419.tar.bz2
android-node-v8-82fe33f18abcb09605288d946e5142ddc5777419.zip
test: do not spawn rmdir in test-statwatcher
PR-URL: https://github.com/nodejs/node/pull/28276 Refs: https://github.com/nodejs/node/issues/21425 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'test/async-hooks/test-statwatcher.js')
-rw-r--r--test/async-hooks/test-statwatcher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/async-hooks/test-statwatcher.js b/test/async-hooks/test-statwatcher.js
index d67bef26eb..1349fa87e6 100644
--- a/test/async-hooks/test-statwatcher.js
+++ b/test/async-hooks/test-statwatcher.js
@@ -11,7 +11,7 @@ const path = require('path');
if (!common.isMainThread)
common.skip('Worker bootstrapping works differently -> different async IDs');
-tmpdir.refresh();
+tmpdir.refresh({ spawn: false });
const file1 = path.join(tmpdir.path, 'file1');
const file2 = path.join(tmpdir.path, 'file2');