test: fix flaky test of parallel/test-worker-process-cwd
fix #27669 (closed).
You'll confirm fixing by running python tools/test.py -J --repeat=1000 --mode=release parallel/test-worker-process-cwd
on MacOS
Checklist
-
make -j4 test
(UNIX) -
commit message follows commit guidelines