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 <[email protected]>
Authored: Tue Apr 9 01:26:58 2013 +0100
Committer: Andrew Kennedy <[email protected]>
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));

Reply via email to