You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2015/06/23 14:26:20 UTC

[04/16] incubator-brooklyn git commit: ConnectionFailureDetectorTest: increase timeout

ConnectionFailureDetectorTest: increase timeout

On a (strange?) hotel network, test was failing because was taking
more than 10 seconds. The default is 30 in most other places as well.

Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/2655dca0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/2655dca0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/2655dca0

Branch: refs/heads/master
Commit: 2655dca06ad871068494180b31ef01964ac7fab6
Parents: 3650dfa
Author: Aled Sage <al...@gmail.com>
Authored: Mon Jun 22 00:16:05 2015 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Mon Jun 22 00:16:05 2015 +0100

----------------------------------------------------------------------
 .../java/brooklyn/policy/ha/ConnectionFailureDetectorTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/2655dca0/policy/src/test/java/brooklyn/policy/ha/ConnectionFailureDetectorTest.java
----------------------------------------------------------------------
diff --git a/policy/src/test/java/brooklyn/policy/ha/ConnectionFailureDetectorTest.java b/policy/src/test/java/brooklyn/policy/ha/ConnectionFailureDetectorTest.java
index 9bfcc24..e72b360 100644
--- a/policy/src/test/java/brooklyn/policy/ha/ConnectionFailureDetectorTest.java
+++ b/policy/src/test/java/brooklyn/policy/ha/ConnectionFailureDetectorTest.java
@@ -53,7 +53,7 @@ import com.google.common.net.HostAndPort;
 
 public class ConnectionFailureDetectorTest {
 
-    private static final int TIMEOUT_MS = 10*1000;
+    private static final int TIMEOUT_MS = 30*1000;
     private static final int OVERHEAD = 250;
     private static final int POLL_PERIOD = 100;