brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigod...@apache.org
Subject [17/50] [abbrv] brooklyn-server git commit: Fix netcat YAML in test
Date Thu, 29 Jun 2017 15:35:59 GMT
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 <andrew.kennedy@cloudsoftcorp.com>
Authored: Tue Jan 31 15:10:07 2017 +0000
Committer: Andrew Donald Kennedy <andrew.kennedy@cloudsoftcorp.com>
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));


Mime
View raw message