Fixed the configuration of HZ for local tests to avoid multicast preferring tcp local address
This commit is contained in:
-3
@@ -21,9 +21,6 @@ import java.util.Properties;
|
|||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by mackristof on 13/05/2016.
|
|
||||||
*/
|
|
||||||
public class ServerIntegrationHazelcastHandlerInterceptorTest{
|
public class ServerIntegrationHazelcastHandlerInterceptorTest{
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(ServerIntegrationHazelcastHandlerInterceptorTest.class);
|
private static final Logger LOG = LoggerFactory.getLogger(ServerIntegrationHazelcastHandlerInterceptorTest.class);
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,23 @@
|
|||||||
http://www.hazelcast.com/schema/config/hazelcast-config-3.5.xsd"
|
http://www.hazelcast.com/schema/config/hazelcast-config-3.5.xsd"
|
||||||
xmlns="http://www.hazelcast.com/schema/config"
|
xmlns="http://www.hazelcast.com/schema/config"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<properties>
|
||||||
|
<property name="hazelcast.logging.type">log4j</property>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<network>
|
<network>
|
||||||
<join><multicast enabled="true"/></join>
|
<port auto-increment="true">5701</port>
|
||||||
|
<join>
|
||||||
|
<multicast enabled="false"/>
|
||||||
|
<tcp-ip enabled="true">
|
||||||
|
<interface>127.0.0.1</interface>
|
||||||
|
</tcp-ip>
|
||||||
|
</join>
|
||||||
|
<interfaces enabled="true">
|
||||||
|
<interface>127.0.0.*</interface>
|
||||||
|
</interfaces>
|
||||||
|
<ssl enabled="false"/>
|
||||||
|
<socket-interceptor enabled="false"/>
|
||||||
</network>
|
</network>
|
||||||
|
|
||||||
</hazelcast>
|
</hazelcast>
|
||||||
Reference in New Issue
Block a user