ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # sprint-2 minor test change
Date Mon, 16 Mar 2015 12:30:31 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/sprint-2 a05f2a142 -> 6862ba91b


# sprint-2  minor test change


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/6862ba91
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/6862ba91
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/6862ba91

Branch: refs/heads/sprint-2
Commit: 6862ba91b1df75d27a1c2c243336c1c51ef3e997
Parents: a05f2a1
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Mar 16 15:29:36 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Mar 16 15:29:36 2015 +0300

----------------------------------------------------------------------
 .../IgniteCacheStoreSessionWriteBehindAbstractTest.java        | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6862ba91/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.java
index fc06d7f..5e68a34 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.java
@@ -68,8 +68,6 @@ public abstract class IgniteCacheStoreSessionWriteBehindAbstractTest extends
Ign
     @Override protected IgniteConfiguration getConfiguration(String gridName) throws Exception
{
         IgniteConfiguration cfg = super.getConfiguration(gridName);
 
-        TestStore store = new TestStore(); // Use the same store instance for both caches.
-
         assert cfg.getCacheConfiguration().length == 1;
 
         CacheConfiguration ccfg0 = cfg.getCacheConfiguration()[0];
@@ -81,7 +79,7 @@ public abstract class IgniteCacheStoreSessionWriteBehindAbstractTest extends
Ign
         ccfg0.setWriteBehindFlushFrequency(5000);
         ccfg0.setWriteBehindEnabled(true);
 
-        ccfg0.setCacheStoreFactory(new FactoryBuilder.SingletonFactory(store));
+        ccfg0.setCacheStoreFactory(new FactoryBuilder.SingletonFactory(new TestStore()));
 
         CacheConfiguration ccfg1 = cacheConfiguration(gridName);
 
@@ -94,7 +92,7 @@ public abstract class IgniteCacheStoreSessionWriteBehindAbstractTest extends
Ign
 
         ccfg1.setName(CACHE_NAME1);
 
-        ccfg1.setCacheStoreFactory(new FactoryBuilder.SingletonFactory(store));
+        ccfg1.setCacheStoreFactory(new FactoryBuilder.SingletonFactory(new TestStore()));
 
         cfg.setCacheConfiguration(ccfg0, ccfg1);
 


Mime
View raw message