Browse Source

Improve execution speed of `CacheAutoConfigurationTests`

As of Hazelcast 3.7, the bootstrap is pretty slow by default due to the
networking discovery. This commit disables both TCP/IP and multicast
discoveries.
pull/8516/head
Stephane Nicoll 9 years ago
parent
commit
5cc569fc91
  1. 7
      spring-boot-actuator/src/test/resources/cache/test-hazelcast.xml
  2. 7
      spring-boot-actuator/src/test/resources/hazelcast.xml
  3. 7
      spring-boot-autoconfigure/src/test/resources/hazelcast.xml
  4. 7
      spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/cache/hazelcast-specific.xml
  5. 7
      spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/hazelcast/hazelcast-specific.xml
  6. 7
      spring-boot-samples/spring-boot-sample-cache/src/main/resources/hazelcast.xml

7
spring-boot-actuator/src/test/resources/cache/test-hazelcast.xml vendored

@ -5,4 +5,11 @@ @@ -5,4 +5,11 @@
<map name="books"/>
<map name="players"/>
<network>
<join>
<tcp-ip enabled="false"/>
<multicast enabled="false"/>
</join>
</network>
</hazelcast>

7
spring-boot-actuator/src/test/resources/hazelcast.xml

@ -5,4 +5,11 @@ @@ -5,4 +5,11 @@
<map name="defaultCache" />
<network>
<join>
<tcp-ip enabled="false"/>
<multicast enabled="false"/>
</join>
</network>
</hazelcast>

7
spring-boot-autoconfigure/src/test/resources/hazelcast.xml

@ -5,4 +5,11 @@ @@ -5,4 +5,11 @@
<map name="defaultCache" />
<network>
<join>
<tcp-ip enabled="false"/>
<multicast enabled="false"/>
</join>
</network>
</hazelcast>

7
spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/cache/hazelcast-specific.xml vendored

@ -7,4 +7,11 @@ @@ -7,4 +7,11 @@
<max-idle-seconds>600</max-idle-seconds>
</map>
<network>
<join>
<tcp-ip enabled="false"/>
<multicast enabled="false"/>
</join>
</network>
</hazelcast>

7
spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/hazelcast/hazelcast-specific.xml

@ -4,4 +4,11 @@ @@ -4,4 +4,11 @@
<queue name="foobar"/>
<network>
<join>
<tcp-ip enabled="false"/>
<multicast enabled="false"/>
</join>
</network>
</hazelcast>

7
spring-boot-samples/spring-boot-sample-cache/src/main/resources/hazelcast.xml vendored

@ -14,4 +14,11 @@ @@ -14,4 +14,11 @@
<management-enabled>true</management-enabled>
</cache>
<network>
<join>
<tcp-ip enabled="false"/>
<multicast enabled="false"/>
</join>
</network>
</hazelcast>

Loading…
Cancel
Save