IGNITE-45 - Fixed test configuration files.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0cc8a781 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0cc8a781 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0cc8a781 Branch: refs/heads/ignite-501 Commit: 0cc8a781c4193154fc74f899ac98f862748db66b Parents: 10b971b Author: Alexey Goncharuk <agoncha...@gridgain.com> Authored: Thu Mar 19 00:21:09 2015 -0700 Committer: Alexey Goncharuk <agoncha...@gridgain.com> Committed: Thu Mar 19 00:21:09 2015 -0700 ---------------------------------------------------------------------- modules/clients/src/test/resources/spring-cache.xml | 4 +++- modules/scalar/src/test/resources/spring-cache.xml | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0cc8a781/modules/clients/src/test/resources/spring-cache.xml ---------------------------------------------------------------------- diff --git a/modules/clients/src/test/resources/spring-cache.xml b/modules/clients/src/test/resources/spring-cache.xml index b6a0ce0..1926a33 100644 --- a/modules/clients/src/test/resources/spring-cache.xml +++ b/modules/clients/src/test/resources/spring-cache.xml @@ -66,7 +66,9 @@ <property name="atomicityMode" value="TRANSACTIONAL"/> <!-- Enable near cache to cache recently accessed data. --> - <property name="distributionMode" value="NEAR_PARTITIONED"/> + <property name="nearConfiguration"> + <bean class="org.apache.ignite.configuration.NearCacheConfiguration"/> + </property> <!-- Initial cache size. --> <property name="startSize" value="1500000"/> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0cc8a781/modules/scalar/src/test/resources/spring-cache.xml ---------------------------------------------------------------------- diff --git a/modules/scalar/src/test/resources/spring-cache.xml b/modules/scalar/src/test/resources/spring-cache.xml index fb91fe5..7c6adc0 100644 --- a/modules/scalar/src/test/resources/spring-cache.xml +++ b/modules/scalar/src/test/resources/spring-cache.xml @@ -28,7 +28,9 @@ <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="cacheMode" value="PARTITIONED"/> <property name="atomicityMode" value="TRANSACTIONAL"/> - <property name="distributionMode" value="NEAR_PARTITIONED"/> + <property name="nearConfiguration"> + <bean class="org.apache.ignite.configuration.NearCacheConfiguration"/> + </property> <property name="writeSynchronizationMode" value="FULL_SYNC"/> <property name="indexedTypes"> <list> @@ -45,7 +47,6 @@ <property name="name" value="partitioned"/> <property name="cacheMode" value="PARTITIONED"/> <property name="atomicityMode" value="ATOMIC"/> - <property name="distributionMode" value="PARTITIONED_ONLY"/> <property name="backups" value="1"/> </bean> @@ -54,7 +55,6 @@ <property name="name" value="partitioned_tx"/> <property name="cacheMode" value="PARTITIONED"/> <property name="atomicityMode" value="TRANSACTIONAL"/> - <property name="distributionMode" value="NEAR_PARTITIONED"/> <property name="backups" value="1"/> </bean>