Addressed PR#542 comments

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/5a4b9844
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/5a4b9844
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/5a4b9844

Branch: refs/heads/0.7.0-incubating
Commit: 5a4b984406cd78bc5d2ce48de2a555e364121d7a
Parents: 67e671a
Author: Svetoslav Neykov <[email protected]>
Authored: Tue Mar 17 23:36:05 2015 +0200
Committer: Svetoslav Neykov <[email protected]>
Committed: Thu Mar 19 16:03:08 2015 +0200

----------------------------------------------------------------------
 .../rest/jsgui/BrooklynJavascriptGuiLauncherTest.java         | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/5a4b9844/usage/jsgui/src/test/java/brooklyn/rest/jsgui/BrooklynJavascriptGuiLauncherTest.java
----------------------------------------------------------------------
diff --git 
a/usage/jsgui/src/test/java/brooklyn/rest/jsgui/BrooklynJavascriptGuiLauncherTest.java
 
b/usage/jsgui/src/test/java/brooklyn/rest/jsgui/BrooklynJavascriptGuiLauncherTest.java
index ab55d66..9ebb40b 100644
--- 
a/usage/jsgui/src/test/java/brooklyn/rest/jsgui/BrooklynJavascriptGuiLauncherTest.java
+++ 
b/usage/jsgui/src/test/java/brooklyn/rest/jsgui/BrooklynJavascriptGuiLauncherTest.java
@@ -64,12 +64,7 @@ public class BrooklynJavascriptGuiLauncherTest {
     protected void checkUrlContains(final String path, final String text) {
         //Server may return 403 until it loads completely, wait a bit
         //until it stabilizes.
-        Asserts.succeedsEventually(new Runnable() {
-            @Override
-            public void run() {
-                HttpTestUtils.assertContentContainsText(rootUrl()+path, text);
-            }
-        });
+        HttpTestUtils.assertContentEventuallyContainsText(rootUrl()+path, 
text);
     }
 
     protected void checkEventuallyHealthy() {

Reply via email to