package org.reveno.atp.clustering.test.cluster_tests; import org.junit.Test; import org.reveno.atp.clustering.core.providers.MulticastAllProvider; import org.reveno.atp.clustering.test.common.ClusterEngineWrapper; import org.reveno.atp.clustering.test.common.ClusterTestUtils; import java.util.function.Consumer; public class ComplicatedSimultanousStartupTestFastCast extends ClusterBaseTest { @Test public void complicatedSimultanousStartupTestFastCast() throws Exception { setModelType(); Consumer<ClusterEngineWrapper> forEach = e -> { this.configure(e); e.clusterConfiguration().multicast().host("229.9.9.10"); e.clusterConfiguration().multicast().port(47367); e.clusterConfiguration().multicast().sendRetries(Integer.MAX_VALUE); }; complicatedSimultanousStartupTest(() -> ClusterTestUtils.createClusterEngines(2, forEach, MulticastAllProvider::new)); } }