Fix until clause in groovy WebAppIntegrationTest to return boolean
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/d99e0868 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/d99e0868 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/d99e0868 Branch: refs/heads/0.5.0 Commit: d99e0868f70aa7253dd2f37acb72d7da9e649102 Parents: 1dc5a60 Author: Andrew Kennedy <[email protected]> Authored: Fri Apr 19 21:14:57 2013 +0100 Committer: Andrew Kennedy <[email protected]> Committed: Fri Apr 19 21:14:57 2013 +0100 ---------------------------------------------------------------------- .../test/java/brooklyn/entity/webapp/WebAppIntegrationTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-library/blob/d99e0868/software/webapp/src/test/java/brooklyn/entity/webapp/WebAppIntegrationTest.groovy ---------------------------------------------------------------------- diff --git a/software/webapp/src/test/java/brooklyn/entity/webapp/WebAppIntegrationTest.groovy b/software/webapp/src/test/java/brooklyn/entity/webapp/WebAppIntegrationTest.groovy index f9414d1..8d4a153 100644 --- a/software/webapp/src/test/java/brooklyn/entity/webapp/WebAppIntegrationTest.groovy +++ b/software/webapp/src/test/java/brooklyn/entity/webapp/WebAppIntegrationTest.groovy @@ -105,7 +105,7 @@ public class WebAppIntegrationTest { gotException = null } .every(100 * MILLISECONDS) - .until { gotException } + .until { gotException != null } .limitIterationsTo(25) .run();
