Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix test-debug-port-from-cmdline.js
Make this test less prone to race conditions by using synchronous interprocess communication instead of a timer to determine when the child process is ready to receive messages from its parent. Also, remove a superfluous timer since the tests suite already makes tests time out after a while. Original-PR-URL: nodejs/node-v0.x-archive#9049 Reviewed-By: Timothy J Fontaine <[email protected]> PR-URL: #501 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Bert Belder <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
- Loading branch information