> @@ -94,9 +88,8 @@ public void testRunNodesWithBootstrap() throws IOException {
>           URI uri = URI.create("http://"; + 
> getLast(node.getPublicAddresses()));
>           InputStream content = computeContext.utils().http().get(uri);
>           String string = Strings2.toStringAndClose(content);
> -         assert string.indexOf("It works!") >= 0 : string;
> +         assertTrue(string.indexOf("It works!") >= 0, string);

This test installs an Apache web server in the deployed node. The assertion 
just performs an HTTP request and expects to get the default HTML page of the 
web server. It just looks for the desired string (ignoring the HTML tags), to 
check that the web server has been properly installed and started.

Now that I see it again, will add the message but a more convenient one :)

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/17/files#r6263080

Reply via email to