Permalink
Browse files

test: remove erroneous dropMembership() call

The socket is not part of any multicast group. Bug wasn't visible until 6999fb3.
  • Loading branch information...
1 parent 6999fb3 commit 9037decb28e324b78a310d2557dc12c177cbaee1 @bnoordhuis bnoordhuis committed Jan 23, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 test/simple/test-dgram-broadcast-multi-process.js
@@ -140,9 +140,7 @@ if (!cluster.isMaster) {
process.send({ message : buf.toString() });
if (receivedMessages.length == messages.length) {
- listenSocket.dropMembership(LOCAL_BROADCAST_HOST);
- process.nextTick(function() { // TODO should be changed to below.
- // listenSocket.dropMembership(LOCAL_BROADCAST_HOST, function() {
+ process.nextTick(function() {
listenSocket.close();
});
}

0 comments on commit 9037dec

Please sign in to comment.