test: remove common.busyLoop()
This PR builds on https://github.com/nodejs/node/pull/30784 and https://github.com/nodejs/node/pull/30783.
This commit replaces common.busyLoop()
with sleep()
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines