brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [11/50] brooklyn-server git commit: extend timeout for integration test (http latency detector)
Date Mon, 01 Feb 2016 17:48:57 GMT
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/bb762104
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/bb762104
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/bb762104

Branch: refs/heads/0.5.0
Commit: bb762104571de30708959b7e1ca36cec93fee8f0
Parents: 8b7985c
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Tue Apr 2 06:48:34 2013 -0700
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Tue Apr 2 06:48:34 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/bb762104/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));


Mime
View raw message