The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-dgram-broadcast-multi-process.js @ 6f043940

History | View | Annotate | Download (7.15 KB)

# Date Author Comment
edd3de8f 07/26/2012 05:55 PM Timothy J Fontaine

test: update dgram tests after API change

e7e34ddb 06/27/2012 09:17 PM Shigeki Ohtsu

test: fix test-dgram-broadcast-multi-process

The test failed when a router replies IPADDR_BROADCAST.
Fixed it by specifying only one address to bind a socket.

0cdf85e2 02/18/2012 06:34 PM isaacs

Lint all the JavaScripts.

35b3d151 01/31/2012 08:37 PM Dan VerWeire

test: dgram-{broadcast,multicast}-multi-process : prevent false failures

  • check exit code of child processes
  • wait 1000 ms to exit the child process
  • prefix log messages with [PARENT] or [CHILD] to help debugging
  • kill all child processes before exiting...
a0119af0 01/26/2012 07:33 PM Dan VerWeire

test: handle unhandled dgram scenarios

- 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
9037decb 01/23/2012 06:11 PM Ben Noordhuis

test: remove erroneous dropMembership() call

The socket is not part of any multicast group. Bug wasn't visible until 6999fb3.

f749338e 01/20/2012 09:26 PM Dan VerWeire

dgram: reintroduce setBroadcast()

Removed during the early stages of node 0.5 refactoring to libuv.