joyent/node — pull request #2652 by wankdanker (2012-01-31 23:21:29+00:00)
Title: More broadcast-multicast test fixes

This patch addresses a couple issues. The most important one was brought up in issue #1993. @jbergstroem's [Gentoo build box](http://buildbot.nodejs.org:8010/buildslaves/jbergstroem) had lingering child processes after the parent exited. This will now kill all child processes before exiting.

Also, I saw on a single core box, some strange behavior where the last message received by a child was not received by the parent via `process.send()`. By setting a timeout of 1000ms before exiting the child process, the parent process can successfully receive the messages. This may be a workaround for some other issue.