ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [50/50] [abbrv] ignite git commit: Ignite 1924
Date Tue, 24 Nov 2015 09:22:48 GMT
Ignite 1924


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

Branch: refs/heads/ignite-1924
Commit: 639723ffd20b2f6ad4af2fea4a327d01f9eb3db4
Parents: d44fad7
Author: Anton Vinogradov <av@apache.org>
Authored: Tue Nov 24 12:21:27 2015 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Tue Nov 24 12:21:27 2015 +0300

----------------------------------------------------------------------
 .../tcp/IgniteCacheSslStartStopSelfTest.java             | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/639723ff/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/IgniteCacheSslStartStopSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/IgniteCacheSslStartStopSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/IgniteCacheSslStartStopSelfTest.java
index 3324fcc..5a76d85 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/IgniteCacheSslStartStopSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/IgniteCacheSslStartStopSelfTest.java
@@ -20,6 +20,7 @@ package org.apache.ignite.spi.communication.tcp;
 import org.apache.ignite.cache.CacheAtomicityMode;
 import org.apache.ignite.configuration.IgniteConfiguration;
 import org.apache.ignite.internal.processors.cache.distributed.dht.IgniteCachePutRetryAbstractSelfTest;
+import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
 import org.apache.ignite.testframework.GridTestUtils;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC;
@@ -33,6 +34,16 @@ public class IgniteCacheSslStartStopSelfTest extends IgniteCachePutRetryAbstract
         IgniteConfiguration cfg = super.getConfiguration(gridName);
 
         cfg.setSslContextFactory(GridTestUtils.sslFactory());
+        ((TcpCommunicationSpi)cfg.getCommunicationSpi()).setSocketWriteTimeout(Integer.MAX_VALUE);
+        ((TcpCommunicationSpi)cfg.getCommunicationSpi()).setConnectTimeout(Integer.MAX_VALUE);
+        ((TcpCommunicationSpi)cfg.getCommunicationSpi()).setMaxConnectTimeout(Integer.MAX_VALUE);
+
+        cfg.setFailureDetectionTimeout(Integer.MAX_VALUE);
+
+        ((TcpDiscoverySpi)cfg.getDiscoverySpi()).setAckTimeout(Integer.MAX_VALUE - 1);
+        ((TcpDiscoverySpi)cfg.getDiscoverySpi()).setMaxAckTimeout(Integer.MAX_VALUE);
+        ((TcpDiscoverySpi)cfg.getDiscoverySpi()).setNetworkTimeout(Integer.MAX_VALUE);
+        ((TcpDiscoverySpi)cfg.getDiscoverySpi()).setSocketTimeout(Integer.MAX_VALUE);
 
         return cfg;
     }


Mime
View raw message