You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:49:13 UTC

[27/50] brooklyn-server git commit: Fix SshMachineLocationTest reference to README file

Fix SshMachineLocationTest reference to README file


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

Branch: refs/heads/0.5.0
Commit: ab5b473a26882ceee59cfc0aae3213efeb7a0706
Parents: bba778b
Author: Andrew Kennedy <an...@cloudsoftcorp.com>
Authored: Fri Apr 19 16:20:38 2013 +0100
Committer: Andrew Kennedy <an...@cloudsoftcorp.com>
Committed: Fri Apr 19 16:57:32 2013 +0100

----------------------------------------------------------------------
 .../java/brooklyn/location/basic/SshMachineLocationTest.groovy   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/ab5b473a/core/src/test/java/brooklyn/location/basic/SshMachineLocationTest.groovy
----------------------------------------------------------------------
diff --git a/core/src/test/java/brooklyn/location/basic/SshMachineLocationTest.groovy b/core/src/test/java/brooklyn/location/basic/SshMachineLocationTest.groovy
index b23bf6f..afb15a7 100644
--- a/core/src/test/java/brooklyn/location/basic/SshMachineLocationTest.groovy
+++ b/core/src/test/java/brooklyn/location/basic/SshMachineLocationTest.groovy
@@ -101,9 +101,9 @@ public class SshMachineLocationTest {
         File dest = new File(System.getProperty("java.io.tmpdir")+"/"+"sssMachineLocationTest_dir/");
         dest.mkdir();
         try {
-            int result = host.installTo(null, "http://github.com/brooklyncentral/brooklyn/raw/master/README.rst", dest.getCanonicalPath()+"/");
+            int result = host.installTo(null, "https://raw.github.com/brooklyncentral/brooklyn/master/README.md", dest.getCanonicalPath()+"/");
             assertEquals(result, 0);
-            String contents = ResourceUtils.readFullyString(new FileInputStream(new File(dest, "README.rst")));
+            String contents = ResourceUtils.readFullyString(new FileInputStream(new File(dest, "README.md")));
             assertTrue(contents.contains("http://brooklyncentral.github.com"), "contents missing expected phrase; contains:\n"+contents);
         } finally {
             dest.delete()