Skip to content
Permalink
Browse files
IGNITE-15905 Fix flaky IgniteClientSpringCacheManagerTest.testCacheMa…
…nagerXmlConfiguration test. (#85)
  • Loading branch information
ololo3000 committed Nov 11, 2021
1 parent 72f83e1 commit 67aa806547749e3d930b27ff9a7b7519917e09ed
Showing 3 changed files with 27 additions and 1 deletion.
@@ -133,7 +133,7 @@ public void testCacheManagerXmlConfiguration() {
IgniteClient cli = mgr.getClientInstance();

assertNotNull(cli);
assertEquals(1, cli.cluster().nodes().size());
assertEquals(2, cli.cluster().nodes().size());

ClientCacheConfiguration cfg = mgr.getDynamicCacheConfiguration();

@@ -44,6 +44,30 @@
<bean id="ignite" class="org.apache.ignite.IgniteSpringBean">
<property name="configuration">
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="localHost" value="127.0.0.1"/>

<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
<property name="addresses">
<list>
<value>127.0.0.1:47500..47509</value>
</list>
</property>
</bean>
</property>
</bean>
</property>

<property name="peerClassLoadingEnabled" value="true"/>

<property name="binaryConfiguration">
<bean class="org.apache.ignite.configuration.BinaryConfiguration">
<property name="compactFooter" value="true"/>
</bean>
</property>

<property name="clientConnectorConfiguration">
<bean class="org.apache.ignite.configuration.ClientConnectorConfiguration">
<property name="host" value="127.0.0.1"/>
@@ -41,6 +41,8 @@
</list>
</property>

<property name="localHost" value="127.0.0.1"/>

<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">

0 comments on commit 67aa806

Please sign in to comment.