From 82fe33f18abcb09605288d946e5142ddc5777419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Tue, 18 Jun 2019 10:45:29 +0100 Subject: [PATCH] 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 Reviewed-By: Anna Henningsen Reviewed-By: Franziska Hinkelmann --- test/async-hooks/test-statwatcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/async-hooks/test-statwatcher.js b/test/async-hooks/test-statwatcher.js index d67bef26eb1d09..1349fa87e6f511 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');