ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [2/2] ignite git commit: ignite-1758
Date Mon, 02 Nov 2015 14:38:40 GMT
ignite-1758


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

Branch: refs/heads/ignite-1758
Commit: e684055227242d9f42250634f304612e2a2b35ee
Parents: 6933c96
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Nov 2 17:37:34 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Nov 2 17:38:25 2015 +0300

----------------------------------------------------------------------
 .../tcp/IgniteClientReconnectMassiveShutdownTest.java          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e6840552/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/IgniteClientReconnectMassiveShutdownTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/IgniteClientReconnectMassiveShutdownTest.java
b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/IgniteClientReconnectMassiveShutdownTest.java
index b591f29..f294b3a 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/IgniteClientReconnectMassiveShutdownTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/IgniteClientReconnectMassiveShutdownTest.java
@@ -133,7 +133,7 @@ public class IgniteClientReconnectMassiveShutdownTest extends GridCommonAbstract
 
         assertTrue(client.configuration().isClientMode());
 
-        CacheConfiguration<String, Integer> cfg = new CacheConfiguration<>();
+        final CacheConfiguration<String, Integer> cfg = new CacheConfiguration<>();
 
         cfg.setCacheMode(PARTITIONED);
         cfg.setAtomicityMode(TRANSACTIONAL);
@@ -173,7 +173,7 @@ public class IgniteClientReconnectMassiveShutdownTest extends GridCommonAbstract
 
                         assertTrue(ignite.configuration().isClientMode());
 
-                        IgniteCache<String, Integer> cache = ignite.cache(null);
+                        IgniteCache<String, Integer> cache = ignite.getOrCreateCache(cfg);
 
                         assertNotNull(cache);
 
@@ -224,7 +224,7 @@ public class IgniteClientReconnectMassiveShutdownTest extends GridCommonAbstract
             },
             CLIENT_GRID_CNT, "client-thread");
 
-        assertTrue(latch.await(60, SECONDS));
+        assertTrue(latch.await(10, SECONDS));
 
         try {
             // Killing a half of server nodes.


Mime
View raw message