ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [13/28] ignite git commit: ignite-1.5 Fixed test.
Date Wed, 16 Dec 2015 08:19:07 GMT
ignite-1.5 Fixed test.


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

Branch: refs/heads/ignite-843-rc2
Commit: 60609300bd8a8feb1b864f9e8013487cb0922827
Parents: 96feee9
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Dec 15 14:52:22 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Dec 15 14:52:22 2015 +0300

----------------------------------------------------------------------
 ...GridCacheClientNodeBinaryObjectMetadataMultinodeTest.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/60609300/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheClientNodeBinaryObjectMetadataMultinodeTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheClientNodeBinaryObjectMetadataMultinodeTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheClientNodeBinaryObjectMetadataMultinodeTest.java
index fee302b..705fef0 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheClientNodeBinaryObjectMetadataMultinodeTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheClientNodeBinaryObjectMetadataMultinodeTest.java
@@ -268,7 +268,7 @@ public class GridCacheClientNodeBinaryObjectMetadataMultinodeTest extends
GridCo
     public void testClientStartsFirst() throws Exception {
         client = true;
 
-        Ignite ignite0 = startGrid(0);
+        final Ignite ignite0 = startGrid(0);
 
         assertTrue(ignite0.configuration().isClientMode());
 
@@ -290,6 +290,12 @@ public class GridCacheClientNodeBinaryObjectMetadataMultinodeTest extends
GridCo
             cache.put(i, builder.build());
         }
 
+        GridTestUtils.waitForCondition(new GridAbsPredicate() {
+            @Override public boolean apply() {
+                return ignite0.binary().types().size() == 100;
+            }
+        }, 5000);
+
         assertEquals(100, ignite(0).binary().types().size());
     }
 }


Mime
View raw message