ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [38/59] [abbrv] ignite git commit: Fixed default test timeouts.
Date Fri, 28 Apr 2017 06:57:59 GMT
Fixed default test timeouts.


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

Branch: refs/heads/master
Commit: a0731f31016c3076f90ab0c2b9d038b80a6594ba
Parents: 9f5f57a
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Apr 27 12:34:57 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Apr 27 12:34:57 2017 +0300

----------------------------------------------------------------------
 .../apache/ignite/testframework/junits/GridAbstractTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a0731f31/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
index c800cfb..d9dd639 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
@@ -1475,10 +1475,10 @@ public abstract class GridAbstractTest extends TestCase {
         }
         else {
             // Set network timeout to 10 sec to avoid unexpected p2p class loading errors.
-            cfg.setNetworkTimeout(10000);
+            cfg.setNetworkTimeout(10_000);
 
-            // Increase failure detection timeoute to avoid unexpected node fails.
-            cfg.setFailureDetectionTimeout(300000);
+            cfg.setFailureDetectionTimeout(10_000);
+            cfg.setClientFailureDetectionTimeout(10_000);
         }
 
         // Set metrics update interval to 1 second to speed up tests.


Mime
View raw message