NO-JIRA Fix DiscoveryTest#testSimpleBroadcast

This commit is contained in:
Domenico Francesco Bruscino 2021-12-31 14:22:37 +01:00 committed by Bruscino Domenico Francesco
parent 1f8a110d75
commit 055d05b9f1
1 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ import org.apache.activemq.artemis.api.core.BroadcastEndpointFactory;
import org.apache.activemq.artemis.api.core.JGroupsFileBroadcastEndpointFactory;
import org.apache.activemq.artemis.api.core.SimpleString;
import org.apache.activemq.artemis.api.core.TransportConfiguration;
import org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory;
import org.apache.activemq.artemis.api.core.jgroups.JChannelManager;
import org.apache.activemq.artemis.api.core.management.CoreNotificationType;
import org.apache.activemq.artemis.core.cluster.DiscoveryEntry;
@ -97,7 +96,7 @@ public class DiscoveryTest extends DiscoveryBaseTest {
final String nodeID = RandomUtil.randomString();
bg = new BroadcastGroupImpl(new FakeNodeManager(nodeID), RandomUtil.randomString(), 0, null, new UDPBroadcastEndpointFactory().setGroupAddress(address1).setGroupPort(groupPort));
bg = newBroadcast(nodeID, RandomUtil.randomString(), null, -1, groupAddress, groupPort);
bg.start();