ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [42/50] [abbrv] ignite git commit: ignite-1.5 Increased test timeouts.
Date Mon, 14 Dec 2015 12:03:02 GMT
ignite-1.5 Increased test timeouts.


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

Branch: refs/heads/ignite-2100
Commit: beb64c34c271b7eac1388179b11f042b34fa0d60
Parents: 4d08673
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Dec 14 11:34:07 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Dec 14 11:34:07 2015 +0300

----------------------------------------------------------------------
 .../discovery/tcp/TcpClientDiscoverySpiMulticastTest.java | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/beb64c34/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMulticastTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMulticastTest.java
b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMulticastTest.java
index 6611e00..27ce883 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMulticastTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiMulticastTest.java
@@ -56,7 +56,11 @@ public class TcpClientDiscoverySpiMulticastTest extends GridCommonAbstractTest
{
 
         TcpDiscoverySpi spi = new TcpDiscoverySpi();
 
-        spi.setIpFinder(new TcpDiscoveryMulticastIpFinder());
+        TcpDiscoveryMulticastIpFinder ipFinder = new TcpDiscoveryMulticastIpFinder();
+
+        ipFinder.setAddressRequestAttempts(10);
+
+        spi.setIpFinder(ipFinder);
 
         Boolean clientFlag = client.get();
 
@@ -133,13 +137,13 @@ public class TcpClientDiscoverySpiMulticastTest extends GridCommonAbstractTest
{
 
         srv.close();
 
-        assertTrue(disconnectLatch.await(10, SECONDS));
+        assertTrue(disconnectLatch.await(30, SECONDS));
 
         discoPort.set(TcpDiscoverySpi.DFLT_PORT + 100);
 
         startGrid(1);
 
-        assertTrue(reconnectLatch.await(10, SECONDS));
+        assertTrue(reconnectLatch.await(30, SECONDS));
     }
 
     /**


Mime
View raw message