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: enable test or update link on Ignite Jira
Date Thu, 26 Mar 2015 10:11:29 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-tests-todo bcc407616 -> 0d9ea2d98


enable test or update link on Ignite Jira


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

Branch: refs/heads/ignite-tests-todo
Commit: 0d9ea2d986155af248b0b8eb554323b9ca85ba5e
Parents: bcc4076
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Thu Mar 26 13:11:54 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Thu Mar 26 13:11:54 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheReloadSelfTest.java   |  3 +--
 .../GridCacheSetFailoverAbstractSelfTest.java       |  2 +-
 .../distributed/GridCacheEventAbstractTest.java     | 16 ++++++----------
 .../GridCacheNodeFailureAbstractTest.java           | 15 ++++++---------
 ...eReplicatedNearOnlyMultiNodeFullApiSelfTest.java |  2 +-
 .../util/tostring/GridToStringBuilderSelfTest.java  |  5 +++--
 .../p2p/GridP2PMissedResourceCacheSizeSelfTest.java |  2 +-
 .../testframework/junits/GridAbstractTest.java      |  2 +-
 ...oncurrentLinkedHashMapMultiThreadedSelfTest.java |  4 ++--
 .../processors/cache/GridCacheSwapSelfTest.java     |  4 ++--
 .../IgniteCacheReplicatedQuerySelfTest.java         | 11 +++++------
 .../p2p/GridP2PUserVersionChangeSelfTest.java       |  5 +++--
 12 files changed, 32 insertions(+), 39 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReloadSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReloadSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReloadSelfTest.java
index d9364c8..e2cdd08 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReloadSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReloadSelfTest.java
@@ -121,8 +121,7 @@ public class GridCacheReloadSelfTest extends GridCommonAbstractTest {
      *
      * @throws Exception If error occurs.
      */
-    //TODO: Active when ticket GG-3926 will be ready.
-    public void _testReloadEvictionPartitionedCacheNearEnabled() throws Exception {
+    public void testReloadEvictionPartitionedCacheNearEnabled() throws Exception {
         cacheMode = PARTITIONED;
 
         doTest();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
index 65d519d..3c87aa7 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
@@ -162,7 +162,7 @@ public abstract class GridCacheSetFailoverAbstractSelfTest extends IgniteCollect
 
         set.close();
 
-        if (false) { // TODO GG-8962: enable check when fixed.
+        if (false) { // TODO IGNITE-600: enable check when fixed.
             int cnt = 0;
 
             Set<IgniteUuid> setIds = new HashSet<>();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
index f956dc8..0d64d22 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheEventAbstractTest.java
@@ -18,8 +18,6 @@
 package org.apache.ignite.internal.processors.cache.distributed;
 
 import org.apache.ignite.*;
-import org.apache.ignite.cache.*;
-import org.apache.ignite.configuration.*;
 import org.apache.ignite.events.*;
 import org.apache.ignite.internal.*;
 import org.apache.ignite.internal.processors.cache.*;
@@ -195,12 +193,11 @@ public abstract class GridCacheEventAbstractTest extends GridCacheAbstractSelfTe
 
     /**
      * @throws Exception If test failed.
+     *
+     * Note: test was disabled for REPPLICATED cache case because IGNITE-607.
+     * This comment should be removed if test passed stably.
      */
     public void testGetPutRemove() throws Exception {
-        // TODO: GG-7578.
-        if (jcache(0).getConfiguration(CacheConfiguration.class).getCacheMode() == CacheMode.REPLICATED)
-            return;
-
         runTest(
             new TestCacheRunnable() {
                 @Override public void run(GridCache<String, Integer> cache) throws
IgniteCheckedException {
@@ -294,12 +291,11 @@ public abstract class GridCacheEventAbstractTest extends GridCacheAbstractSelfTe
 
     /**
      * @throws Exception If test failed.
+     *
+     * Note: test was disabled for REPPLICATED cache case because IGNITE-607.
+     * This comment should be removed if test passed stably.
      */
     public void testGetPutRemoveAsync() throws Exception {
-        // TODO: GG-7578.
-        if (jcache(0).getConfiguration(CacheConfiguration.class).getCacheMode() == CacheMode.REPLICATED)
-            return;
-
         runTest(new TestCacheRunnable() {
             @Override public void run(GridCache<String, Integer> cache) throws IgniteCheckedException
{
                 Map.Entry<String, Integer> e = F.first(pairs(1).entrySet());

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheNodeFailureAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheNodeFailureAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheNodeFailureAbstractTest.java
index 9974ac6..644aab1 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheNodeFailureAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheNodeFailureAbstractTest.java
@@ -18,7 +18,6 @@
 package org.apache.ignite.internal.processors.cache.distributed;
 
 import org.apache.ignite.*;
-import org.apache.ignite.cache.*;
 import org.apache.ignite.configuration.*;
 import org.apache.ignite.events.*;
 import org.apache.ignite.internal.*;
@@ -138,12 +137,11 @@ public abstract class GridCacheNodeFailureAbstractTest extends GridCommonAbstrac
 
     /**
      * @throws IgniteCheckedException If test failed.
+     * 
+     * Note: test was disabled for REPPLICATED cache case because IGNITE-601.
+     * This comment should be removed if test passed stably.
      */
     public void testPessimisticReadCommitted() throws Throwable {
-        // TODO:  GG-7437.
-        if (jcache(0).getConfiguration(CacheConfiguration.class).getCacheMode() == CacheMode.REPLICATED)
-            return;
-
         checkTransaction(PESSIMISTIC, READ_COMMITTED);
     }
 
@@ -234,6 +232,9 @@ public abstract class GridCacheNodeFailureAbstractTest extends GridCommonAbstrac
 
     /**
      * @throws Exception If check failed.
+     * 
+     * Note: test was disabled for REPPLICATED cache case because IGNITE-601.
+     * This comment should be removed if test passed stably.
      */
     public void testLock() throws Exception {
         int idx = 0;
@@ -245,10 +246,6 @@ public abstract class GridCacheNodeFailureAbstractTest extends GridCommonAbstrac
 
         IgniteCache<Integer, String> cache = jcache(idx);
 
-        // TODO:  GG-7437.
-        if (cache.getConfiguration(CacheConfiguration.class).getCacheMode() == CacheMode.REPLICATED)
-            return;
-
         cache.put(KEY, VALUE);
 
         Lock lock = cache.lock(KEY);

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedNearOnlyMultiNodeFullApiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedNearOnlyMultiNodeFullApiSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedNearOnlyMultiNodeFullApiSelfTest.java
index 193163c..1d15395 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedNearOnlyMultiNodeFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedNearOnlyMultiNodeFullApiSelfTest.java
@@ -31,7 +31,7 @@ public class GridCacheReplicatedNearOnlyMultiNodeFullApiSelfTest extends
GridCac
         return REPLICATED;
     }
 
-    // TODO: remove when GG-7437 is fixed.
+    // TODO: remove when IGNITE-601 is fixed.
     /** {@inheritDoc} */
     @Override protected boolean lockingEnabled() {
         return false;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/internal/util/tostring/GridToStringBuilderSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/tostring/GridToStringBuilderSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/util/tostring/GridToStringBuilderSelfTest.java
index 77f587a..6f3b719 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/tostring/GridToStringBuilderSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/tostring/GridToStringBuilderSelfTest.java
@@ -71,9 +71,10 @@ public class GridToStringBuilderSelfTest extends GridCommonAbstractTest
{
 
     /**
      * @throws Exception If failed.
+     * 
+     * Test fails: https://issues.apache.org/jira/browse/IGNITE-602.
      */
-    // TODO: Activate test when ticket GG-5000 will be ready.
-    public void _testToStringCheckAdvancedRecursionPrevention() throws Exception {
+    public void testToStringCheckAdvancedRecursionPrevention() throws Exception {
         ArrayList<Object> list1 = new ArrayList<>();
         ArrayList<Object> list2 = new ArrayList<>();
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
index bdf11d3..50b8ed0 100644
--- a/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/p2p/GridP2PMissedResourceCacheSizeSelfTest.java
@@ -160,7 +160,7 @@ public class GridP2PMissedResourceCacheSizeSelfTest extends GridCommonAbstractTe
     }
 
     /**
-     * TODO GG-3804
+     * TODO https://issues.apache.org/jira/browse/IGNITE-603
      * @param depMode deployment mode.
      * @throws Exception If failed.
      */

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
index 93d1d74..0e0a2b3 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
@@ -673,7 +673,7 @@ public abstract class GridAbstractTest extends TestCase {
      * @return Optimized configuration (by modifying passed in one).
      */
     protected IgniteConfiguration optimize(IgniteConfiguration cfg) {
-        // TODO: GG-4048: propose another way to avoid network overhead in tests.
+        // TODO: IGNITE-605: propose another way to avoid network overhead in tests.
         if (cfg.getLocalHost() == null) {
             if (cfg.getDiscoverySpi() instanceof TcpDiscoverySpi)
                 cfg.setLocalHost("127.0.0.1");

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/core/src/test/java/org/apache/ignite/util/GridConcurrentLinkedHashMapMultiThreadedSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/util/GridConcurrentLinkedHashMapMultiThreadedSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/util/GridConcurrentLinkedHashMapMultiThreadedSelfTest.java
index 724fc3c..3d29ce8 100644
--- a/modules/core/src/test/java/org/apache/ignite/util/GridConcurrentLinkedHashMapMultiThreadedSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/util/GridConcurrentLinkedHashMapMultiThreadedSelfTest.java
@@ -150,7 +150,7 @@ public class GridConcurrentLinkedHashMapMultiThreadedSelfTest extends
GridCommon
         assertTrue("Invalid map size: " + linkedMap.size(), U.safeAbs(maxSize - linkedMap.size())
<= diff);
         assertTrue("Invalid map sizex: " + linkedMap.sizex(), U.safeAbs(maxSize - linkedMap.sizex())
<= diff);
 
-//      TODO GG-4788 - Need to fix iterators for ConcurrentLinkedHashMap in perSegment mode
+//      TODO IGNITE-606 - Need to fix iterators for ConcurrentLinkedHashMap in perSegment
mode
 //        LinkedList<Integer> keys = new LinkedList<Integer>(linkedMap.keySet());
 //
 //        while (!keys.isEmpty()) {
@@ -211,7 +211,7 @@ public class GridConcurrentLinkedHashMapMultiThreadedSelfTest extends
GridCommon
         assertTrue("Invalid map size: " + linkedMap.size(), U.safeAbs(maxSize - linkedMap.size())
<= diff);
         assertTrue("Invalid map sizex: " + linkedMap.sizex(), U.safeAbs(maxSize - linkedMap.sizex())
<= diff);
 
-//      TODO GG-4788 - Need to fix iterators for ConcurrentLinkedHashMap in perSegment mode
+//      TODO IGNITE-606 - Need to fix iterators for ConcurrentLinkedHashMap in perSegment
mode
 //        LinkedList<Integer> keys = new LinkedList<Integer>(linkedMap.keySet());
 //
 //        while (!keys.isEmpty()) {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheSwapSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheSwapSelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheSwapSelfTest.java
index aa4768d..3930f5f 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheSwapSelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheSwapSelfTest.java
@@ -251,8 +251,8 @@ public class GridCacheSwapSelfTest extends GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
-    // TODO: enable when GG-7341 is fixed.
-    public void _testSwapEviction() throws Exception {
+    // Test fails: https://issues.apache.org/jira/browse/IGNITE-599.
+    public void testSwapEviction() throws Exception {
         try {
             final CountDownLatch evicted = new CountDownLatch(10);
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/IgniteCacheReplicatedQuerySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/IgniteCacheReplicatedQuerySelfTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/IgniteCacheReplicatedQuerySelfTest.java
index 4259cca..9043291 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/IgniteCacheReplicatedQuerySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/IgniteCacheReplicatedQuerySelfTest.java
@@ -299,11 +299,9 @@ public class IgniteCacheReplicatedQuerySelfTest extends IgniteCacheAbstractQuery
     }
 
     /**
-     * TODO
-     *
      * @throws Exception If failed.
      */
-    public void _testLostIterator() throws Exception {
+    public void testLostIterator() throws Exception {
         IgniteCache<Integer, Integer> cache = ignite.cache(null);
 
         for (int i = 0; i < 1000; i++)
@@ -338,11 +336,12 @@ public class IgniteCacheReplicatedQuerySelfTest extends IgniteCacheAbstractQuery
     }
 
     /**
-     * TODO enable
-     *
      * @throws Exception If failed.
      */
-    public void _testNodeLeft() throws Exception {
+    public void testNodeLeft() throws Exception {
+        // Test works long and fails after. Should be enabled after fix.
+        fail("https://issues.apache.org/jira/browse/IGNITE-588");
+        
         try {
             Ignite g = startGrid();
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d9ea2d9/modules/spring/src/test/java/org/apache/ignite/p2p/GridP2PUserVersionChangeSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/apache/ignite/p2p/GridP2PUserVersionChangeSelfTest.java
b/modules/spring/src/test/java/org/apache/ignite/p2p/GridP2PUserVersionChangeSelfTest.java
index 1620973..0589682 100644
--- a/modules/spring/src/test/java/org/apache/ignite/p2p/GridP2PUserVersionChangeSelfTest.java
+++ b/modules/spring/src/test/java/org/apache/ignite/p2p/GridP2PUserVersionChangeSelfTest.java
@@ -275,9 +275,10 @@ public class GridP2PUserVersionChangeSelfTest extends GridCommonAbstractTest
{
 
     /**
      * @throws Exception If failed.
+     * 
+     * Test fails: https://issues.apache.org/jira/browse/IGNITE-604.
      */
-    // TODO: GG-5678 Uncomment when fix
-    public void _testCacheRedeployVersionChangeContinuousMode() throws Exception {
+    public void testCacheRedeployVersionChangeContinuousMode() throws Exception {
         depMode = DeploymentMode.CONTINUOUS;
 
         try {


Mime
View raw message