Browse Source

test: remove erroneous dropMembership() call

The socket is not part of any multicast group. Bug wasn't visible until 6999fb3.
v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
9037decb28
  1. 4
      test/simple/test-dgram-broadcast-multi-process.js

4
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();
});
}

Loading…
Cancel
Save