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>
This commit is contained in:
parent
e585846398
commit
82fe33f18a
@ -11,7 +11,7 @@ const path = require('path');
|
|||||||
if (!common.isMainThread)
|
if (!common.isMainThread)
|
||||||
common.skip('Worker bootstrapping works differently -> different async IDs');
|
common.skip('Worker bootstrapping works differently -> different async IDs');
|
||||||
|
|
||||||
tmpdir.refresh();
|
tmpdir.refresh({ spawn: false });
|
||||||
|
|
||||||
const file1 = path.join(tmpdir.path, 'file1');
|
const file1 = path.join(tmpdir.path, 'file1');
|
||||||
const file2 = path.join(tmpdir.path, 'file2');
|
const file2 = path.join(tmpdir.path, 'file2');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user