ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-2588 Test fixed
Date Fri, 12 Feb 2016 16:30:28 GMT
Repository: ignite
Updated Branches:
  refs/heads/master b2e510aa2 -> befb9de80


ignite-2588 Test fixed


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

Branch: refs/heads/master
Commit: befb9de80c798f20401f9f898836de0b4220cbac
Parents: b2e510a
Author: agura <agura@gridgain.com>
Authored: Mon Feb 8 19:22:51 2016 +0300
Committer: agura <agura@gridgain.com>
Committed: Fri Feb 12 19:30:00 2016 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/GridAffinityNoCacheSelfTest.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/befb9de8/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityNoCacheSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityNoCacheSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityNoCacheSelfTest.java
index 5561f35..25b637b 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityNoCacheSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridAffinityNoCacheSelfTest.java
@@ -101,7 +101,7 @@ public class GridAffinityNoCacheSelfTest extends GridCommonAbstractTest
{
     /**
      * @param key Key.
      */
-    private void checkAffinityImplCacheDeleted(Object key) throws InterruptedException{
+    private void checkAffinityImplCacheDeleted(Object key) throws InterruptedException {
         IgniteEx grid = grid(0);
 
         final String cacheName = "cacheToBeDeleted";
@@ -118,7 +118,9 @@ public class GridAffinityNoCacheSelfTest extends GridCommonAbstractTest
{
 
         grid.cache(cacheName).destroy();
 
-        assertAffinityMethodsException(affinity, key, n);
+        awaitPartitionMapExchange();
+
+        assertAffinityMethodsException(grid.affinity(cacheName), key, n);
     }
 
     /**


Mime
View raw message