Fix netcat YAML in test

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

Branch: refs/heads/master
Commit: 8e1ad7e4a27bb0d1d5948851a88bbb7abcc72ee7
Parents: 7c85eef
Author: Andrew Donald Kennedy <[email protected]>
Authored: Tue Jan 31 15:10:07 2017 +0000
Committer: Andrew Donald Kennedy <[email protected]>
Committed: Fri May 19 14:01:20 2017 +0100

----------------------------------------------------------------------
 .../location/KubernetesLocationYamlLiveTest.java    | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/8e1ad7e4/kubernetes-location/src/test/java/io/cloudsoft/amp/containerservice/kubernetes/location/KubernetesLocationYamlLiveTest.java
----------------------------------------------------------------------
diff --git 
a/kubernetes-location/src/test/java/io/cloudsoft/amp/containerservice/kubernetes/location/KubernetesLocationYamlLiveTest.java
 
b/kubernetes-location/src/test/java/io/cloudsoft/amp/containerservice/kubernetes/location/KubernetesLocationYamlLiveTest.java
index 83c0abe..f392673 100644
--- 
a/kubernetes-location/src/test/java/io/cloudsoft/amp/containerservice/kubernetes/location/KubernetesLocationYamlLiveTest.java
+++ 
b/kubernetes-location/src/test/java/io/cloudsoft/amp/containerservice/kubernetes/location/KubernetesLocationYamlLiveTest.java
@@ -118,14 +118,14 @@ public class KubernetesLocationYamlLiveTest extends 
AbstractYamlTest {
                 "      launch.command: |",
                 "        echo $MESSAGE | nc -l $NETCAT_PORT &",
                 "        echo $! > $PID_FILE",
-                "    shell.env:",
-                "      MESSAGE: mymessage",
-                "      NETCAT_PORT: 
$brooklyn:attributeWhenReady(\"netcat.port\")",
-                "  brooklyn.enrichers:",
-                "  - type: " + OnPublicNetworkEnricher.class.getName(),
-                "    brooklyn.config:",
-                "      " + OnPublicNetworkEnricher.SENSORS.getName() + ":",
-                "      - netcat.port");
+                "      shell.env:",
+                "        MESSAGE: mymessage",
+                "        NETCAT_PORT: 
$brooklyn:attributeWhenReady(\"netcat.port\")",
+                "    brooklyn.enrichers:",
+                "      - type: " + OnPublicNetworkEnricher.class.getName(),
+                "        brooklyn.config:",
+                "          " + OnPublicNetworkEnricher.SENSORS.getName() + ":",
+                "            - netcat.port");
 
         Entity app = createStartWaitAndLogApplication(yaml);
         VanillaSoftwareProcess entity = 
Iterables.getOnlyElement(Entities.descendantsAndSelf(app, 
VanillaSoftwareProcess.class));

Reply via email to