Commit 7a8ea15d authored by Julien Gilli's avatar Julien Gilli
Browse files

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.

Reviewed-By: default avatarTimothy J Fontaine <tjfontaine@gmail.com>
parent 89f3c903
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment