You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:48:58 UTC

[12/50] brooklyn-server git commit: extend timeout for integration test (http latency detector)

extend timeout for integration test (http latency detector)


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/3e164693
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/3e164693
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/3e164693

Branch: refs/heads/0.5.0
Commit: 3e164693b21a56c2c3b50abfc42041b07773aa00
Parents: 8b7985c
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Tue Apr 2 06:48:34 2013 -0700
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Tue Apr 2 06:49:27 2013 -0700

----------------------------------------------------------------------
 .../src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3e164693/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
----------------------------------------------------------------------
diff --git a/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java b/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
index 1af5722..614104e 100644
--- a/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
+++ b/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
@@ -61,7 +61,7 @@ public class HttpLatencyDetectorTest {
                 Entities.supplier(entity, HttpLatencyDetector.REQUEST_LATENCY_IN_SECONDS_MOST_RECENT), 
                 Predicates.notNull());
         log.info("Latency to "+entity.getAttribute(TEST_URL)+" is "+entity.getAttribute(HttpLatencyDetector.REQUEST_LATENCY_IN_SECONDS_MOST_RECENT));
-        TestUtils.assertEventually(MutableMap.of("timeout", 4000), 
+        TestUtils.assertEventually(MutableMap.of("timeout", 10000), 
                 Entities.supplier(entity, HttpLatencyDetector.REQUEST_LATENCY_IN_SECONDS_IN_WINDOW), 
                 Predicates.notNull());
         log.info("Mean latency to "+entity.getAttribute(TEST_URL)+" is "+entity.getAttribute(HttpLatencyDetector.REQUEST_LATENCY_IN_SECONDS_IN_WINDOW));