ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [14/50] [abbrv] incubator-ignite git commit: #ignite-180: Fix IgniteDataStructureUniqueNameTest - do not start caches in queue tests.
Date Thu, 09 Apr 2015 16:51:42 GMT
#ignite-180: Fix IgniteDataStructureUniqueNameTest - do not start caches in queue tests.


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

Branch: refs/heads/ignite-537
Commit: 8125ecce51d3eae1ffeb453c9b1cd0ed5cc25d64
Parents: 8f6e7a6
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Apr 7 13:49:48 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Apr 7 13:49:48 2015 +0300

----------------------------------------------------------------------
 .../IgniteDataStructureUniqueNameTest.java       | 19 -------------------
 1 file changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8125ecce/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
index b05a509..92b88ff 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/IgniteDataStructureUniqueNameTest.java
@@ -28,18 +28,13 @@ import java.io.*;
 import java.util.*;
 import java.util.concurrent.*;
 
-import static org.apache.ignite.cache.CacheAtomicWriteOrderMode.*;
 import static org.apache.ignite.cache.CacheAtomicityMode.*;
 import static org.apache.ignite.cache.CacheMode.*;
-import static org.apache.ignite.cache.CacheWriteSynchronizationMode.*;
 
 /**
  *
  */
 public class IgniteDataStructureUniqueNameTest extends IgniteCollectionAbstractTest {
-    /** */
-    private static final String ATOMIC_CLOCK_CACHE_NAME = "atomicClockCache";
-
     /** {@inheritDoc} */
     @Override protected int gridCount() {
         return 3;
@@ -66,20 +61,6 @@ public class IgniteDataStructureUniqueNameTest extends IgniteCollectionAbstractT
 
         cfg.setAtomicConfiguration(atomicCfg);
 
-        CacheConfiguration[] ccfgs = cfg.getCacheConfiguration();
-
-        assert ccfgs.length == 1 : ccfgs.length;
-
-        CacheConfiguration ccfg = new CacheConfiguration();
-
-        ccfg.setCacheMode(PARTITIONED);
-        ccfg.setName(ATOMIC_CLOCK_CACHE_NAME);
-        ccfg.setAtomicityMode(ATOMIC);
-        ccfg.setAtomicWriteOrderMode(CLOCK);
-        ccfg.setWriteSynchronizationMode(FULL_SYNC);
-
-        cfg.setCacheConfiguration(ccfgs[0], ccfg);
-
         return cfg;
     }
 


Mime
View raw message