ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [15/16] ignite git commit: ignite-1758
Date Tue, 03 Nov 2015 10:28:29 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/d6675222
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d6675222
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d6675222

Branch: refs/heads/ignite-1758
Commit: d6675222a4450fb1d48d4a254780a8a1cd9c5039
Parents: e684055
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Nov 3 13:26:19 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Nov 3 13:26:19 2015 +0300

----------------------------------------------------------------------
 .../tcp/IgniteClientReconnectMassiveShutdownTest.java    | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d6675222/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 f294b3a..5282cf2 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
@@ -36,6 +36,7 @@ import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.configuration.IgniteConfiguration;
 import org.apache.ignite.internal.IgniteInternalFuture;
 import org.apache.ignite.internal.util.typedef.X;
+import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
@@ -224,9 +225,15 @@ public class IgniteClientReconnectMassiveShutdownTest extends GridCommonAbstract
             },
             CLIENT_GRID_CNT, "client-thread");
 
-        assertTrue(latch.await(10, SECONDS));
-
         try {
+            if (!latch.await(30, SECONDS)) {
+                log.warning("Failed to wait for for clients start.");
+
+                U.dumpThreads(log);
+
+                fail("Failed to wait for for clients start.");
+            }
+
             // Killing a half of server nodes.
             final int srvsToKill = GRID_CNT / 2;
 


Mime
View raw message