test: eliminate multicast test FreeBSD flakiness
authorRich Trott <rtrott@gmail.com>
Thu, 26 Nov 2015 03:41:09 +0000 (19:41 -0800)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:17 +0000 (11:52 -0800)
commit22ba1b41159c9e84952f5a9cedeb0684d1cf28f1
tree9f5a9ab5620fe97b150278cead932d94566ed214
parent2ee7853bb71fb6ad8f5ed4cb470c334f33bdfd51
test: eliminate multicast test FreeBSD flakiness

test-dgram-multicast-multi-process was flaky on FreeBSD and Raspeberry
Pi. This refactoring fixes the issue by eliminating a race condition.

Fixes: https://github.com/nodejs/node/issues/2474
PR-URL: https://github.com/nodejs/node/pull/4042
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
test/internet/test-dgram-multicast-multi-process.js