joyent/node — pull request #2616 by wankdanker (2012-01-26 14:37:27+00:00)
Title: dgram: broadcast and multicast test fixes

The broadcast and multicast multiple process tests don't fail properly when they are unable to receive messages or if the child processes die. This pull request fixes these shortcomings.

- watch for the death of child processes and fail the test if they all die
- use setTimeout to fail the test if responses are not received and processed in 5000ms

Discussed briefly in issue #1993