test: fix flaky test-pipe-unref
This test doesn't need to use an arbitrary setTimeout
, it should just end naturally (if working as intended) or timeout as per default for all tests.
Fixes: https://github.com/nodejs/node/issues/16875
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test