test: fix test-readline-interface short delay
Previous unit test delay is too short for parallel test on raspberry pi, it will fail sometimes.
This PR use common.platformTimeout
and widen the time gap, a patch of https://github.com/nodejs/node/pull/13497
Refs: https://github.com/nodejs/node/issues/14674
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
readline
- test-readline-interface