You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/12/01 07:03:22 UTC

[08/16] ignite git commit: Fixed GridCacheNearOnlyMultiNodeP2PDisabledFullApiSelfTest.testReaderTtlNoTx test.

Fixed GridCacheNearOnlyMultiNodeP2PDisabledFullApiSelfTest.testReaderTtlNoTx test.


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

Branch: refs/heads/ignite-1537
Commit: eed4b1c245d8a22d4e9ae2ce7200089025c8c5ae
Parents: 407bf93
Author: Tikhonov Nikolay <ti...@gmail.com>
Authored: Mon Nov 30 17:09:15 2015 +0300
Committer: Tikhonov Nikolay <ti...@gmail.com>
Committed: Mon Nov 30 17:09:15 2015 +0300

----------------------------------------------------------------------
 .../near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java           | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/eed4b1c2/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
index c4407fe..eaab103 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
@@ -413,7 +413,8 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest extends GridCachePartitio
                         return true;
                 }
                 catch (GridCacheEntryRemovedException e) {
-                    throw new RuntimeException(e);
+                    // If e0.valueBytes() thrown this exception then entry has been removed.
+                    return true;
                 }
             }
         }, Math.min(ttl * 10, getTestTimeout())));