You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/11/24 10:22:48 UTC
[50/50] [abbrv] ignite git commit: Ignite 1924
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;
}