brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [13/50] brooklyn-server git commit: Increase timeout in HttpLatencyDetectorTest
Date Mon, 01 Feb 2016 17:48:59 GMT
Increase timeout in HttpLatencyDetectorTest


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

Branch: refs/heads/0.5.0
Commit: 64da3fcd6e22152a87303d93492305c9ee519968
Parents: 3e16469 bb76210
Author: Andrew Kennedy <andrew.kennedy@cloudsoftcorp.com>
Authored: Tue Apr 9 01:26:58 2013 +0100
Committer: Andrew Kennedy <andrew.kennedy@cloudsoftcorp.com>
Committed: Tue Apr 9 01:30:44 2013 +0100

----------------------------------------------------------------------
 .../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/64da3fcd/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
----------------------------------------------------------------------
diff --cc policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
index 614104e,614104e..df9fdb0
--- a/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
+++ b/policy/src/test/java/brooklyn/enricher/HttpLatencyDetectorTest.java
@@@ -57,7 -57,7 +57,7 @@@ public class HttpLatencyDetectorTest 
                  Entities.supplier(entity, HttpLatencyDetector.REQUEST_LATENCY_IN_SECONDS_MOST_RECENT),

                  Predicates.equalTo(null));
          entity.setAttribute(TEST_URL, "http://www.google.com");
--        TestUtils.assertEventually(MutableMap.of("timeout", 400), 
++        TestUtils.assertEventually(MutableMap.of("timeout", 10000), 
                  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));


Mime
View raw message