You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2016/07/20 17:20:11 UTC

[04/11] brooklyn-server git commit: Add test resources for orphaned locations

Add test resources for orphaned locations


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

Branch: refs/heads/master
Commit: 9e6dfc463e79e1749dae1634b72ab23d4d2f6ecb
Parents: 59f8e8b
Author: Ivana Yovcheva <iv...@gmail.com>
Authored: Tue Jul 19 20:35:19 2016 +0300
Committer: Ivana Yovcheva <iv...@gmail.com>
Committed: Tue Jul 19 20:35:19 2016 +0300

----------------------------------------------------------------------
 launcher/pom.xml                                |  9 ++++++
 .../copy-persisted-state-destination/dummy.txt  |  0
 .../entities/xk1z8wlgx2                         | 34 ++++++++++++++++++++
 .../entities/yudk65cb3j                         | 22 +++++++++++++
 .../locations/banby1jx4j                        | 20 ++++++++++++
 .../locations/msyp655po0                        | 18 +++++++++++
 .../locations/ppamsemxgo                        | 11 +++++++
 .../locations/pudtixbw89                        | 11 +++++++
 .../locations/tjdywoxbji                        | 18 +++++++++++
 .../entities/xk1z8wlgx2                         | 34 ++++++++++++++++++++
 .../entities/yudk65cb3j                         | 22 +++++++++++++
 .../locations/pudtixbw89                        | 11 +++++++
 .../locations/tjdywoxbji                        | 18 +++++++++++
 .../entities/exq3hn5eug                         | 19 +++++++++++
 .../entities/ntvotn3iwc                         | 18 +++++++++++
 .../locations/jf4rwubqyb                        |  7 ++++
 .../locations/m72nvkl799                        | 10 ++++++
 .../locations/pski1c4s14                        |  7 ++++
 18 files changed, 289 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/pom.xml
----------------------------------------------------------------------
diff --git a/launcher/pom.xml b/launcher/pom.xml
index 7bf7a11..2a49bb7 100644
--- a/launcher/pom.xml
+++ b/launcher/pom.xml
@@ -272,6 +272,15 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes combine.children="append">
+                        <exclude>**/src/test/resources/orphaned-locations-test-data/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/copy-persisted-state-destination/dummy.txt
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/copy-persisted-state-destination/dummy.txt b/launcher/src/test/resources/orphaned-locations-test-data/copy-persisted-state-destination/dummy.txt
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/xk1z8wlgx2
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/xk1z8wlgx2 b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/xk1z8wlgx2
new file mode 100644
index 0000000..280a045
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/xk1z8wlgx2
@@ -0,0 +1,34 @@
+<entity>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.entity.stock.BasicApplicationImpl</type>
+  <id>xk1z8wlgx2</id>
+  <displayName>element1</displayName>
+  <tags>
+    <org.apache.brooklyn.core.mgmt.BrooklynTags_-NamedStringTag>
+      <kind>yaml_spec</kind>
+      <contents>name: element1
+location:
+  jclouds:aws-ec2:eu-west-1
+services:
+- type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess</contents>
+    </org.apache.brooklyn.core.mgmt.BrooklynTags_-NamedStringTag>
+  </tags>
+  <children>
+    <string>yudk65cb3j</string>
+  </children>
+  <config>
+    <camp.template.id>S0Odehz7</camp.template.id>
+    <brooklyn.wrapper__app type="boolean">true</brooklyn.wrapper__app>
+  </config>
+  <locations>
+    <string>tjdywoxbji</string>
+  </locations>
+  <attributes>
+    <service.state.expected>
+      <org.apache.brooklyn.core.entity.lifecycle.Lifecycle_-Transition>
+        <state>RUNNING</state>
+        <timestampUtc>1467993426499</timestampUtc>
+      </org.apache.brooklyn.core.entity.lifecycle.Lifecycle_-Transition>
+    </service.state.expected>
+  </attributes>
+</entity>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/yudk65cb3j
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/yudk65cb3j b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/yudk65cb3j
new file mode 100644
index 0000000..072cdb8
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/entities/yudk65cb3j
@@ -0,0 +1,22 @@
+<entity>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.entity.software.base.EmptySoftwareProcessImpl</type>
+  <id>yudk65cb3j</id>
+  <displayName>EmptySoftwareProcess:yudk</displayName>
+  <parent>xk1z8wlgx2</parent>
+  <config>
+    <camp.template.id>fh4wq1FX</camp.template.id>
+    <onbox.base.dir.resolved type="boolean">true</onbox.base.dir.resolved>
+    <install.unique__label>EmptySoftwareProcess</install.unique__label>
+  </config>
+  <locations>
+    <string>pudtixbw89</string>
+  </locations>
+  <attributes>
+    <softwareservice.provisioningLocation>
+      <locationProxy>tjdywoxbji</locationProxy>
+    </softwareservice.provisioningLocation>
+    <host.subnet.hostname>ec2-54-155-107-26.eu-west-1.compute.amazonaws.com</host.subnet.hostname>
+    <service.process.isRunning type="boolean">true</service.process.isRunning>
+  </attributes>
+</entity>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/banby1jx4j
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/banby1jx4j b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/banby1jx4j
new file mode 100644
index 0000000..e45ee62
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/banby1jx4j
@@ -0,0 +1,20 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.core.location.access.PortForwardManagerImpl</type>
+  <id>banby1jx4j</id>
+  <displayName>localhost</displayName>
+  <locationConfig>
+    <scope>global</scope>
+    <provider>portForwardManager</provider>
+    <name>localhost</name>
+    <spec.final>portForwardManager(scope=global)</spec.final>
+    <spec.original>portForwardManager(scope=global)</spec.original>
+    <brooklyn.object.constructor.portforward.scope>global</brooklyn.object.constructor.portforward.scope>
+    <brooklyn.object.constructor.special>
+      <null/>
+    </brooklyn.object.constructor.special>
+    <tags>
+      <set/>
+    </tags>
+  </locationConfig>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/msyp655po0
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/msyp655po0 b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/msyp655po0
new file mode 100644
index 0000000..f876ce3
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/msyp655po0
@@ -0,0 +1,18 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.jclouds.JcloudsLocation</type>
+  <id>msyp655po0</id>
+  <children>
+    <string>ppamsemxgo</string>
+  </children>
+  <locationConfig>
+    <vmInstanceIds>
+      <map>
+        <entry>
+          <locationProxy>ppamsemxgo</locationProxy>
+          <string>eu-west-1/i-cecb8742</string>
+        </entry>
+      </map>
+    </vmInstanceIds>
+  </locationConfig>
+</location>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/ppamsemxgo
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/ppamsemxgo b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/ppamsemxgo
new file mode 100644
index 0000000..aef9dae
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/ppamsemxgo
@@ -0,0 +1,11 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.jclouds.JcloudsSshMachineLocation</type>
+  <id>ppamsemxgo</id>
+  <parent>msyp655po0</parent>
+  <locationConfig>
+    <jcloudsParent>
+      <locationProxy>msyp655po0</locationProxy>
+    </jcloudsParent>
+  </locationConfig>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/pudtixbw89
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/pudtixbw89 b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/pudtixbw89
new file mode 100644
index 0000000..8368d2d
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/pudtixbw89
@@ -0,0 +1,11 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.jclouds.JcloudsSshMachineLocation</type>
+  <id>pudtixbw89</id>
+  <parent>tjdywoxbji</parent>
+  <locationConfig>
+    <jcloudsParent>
+      <locationProxy>tjdywoxbji</locationProxy>
+    </jcloudsParent>
+  </locationConfig>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/tjdywoxbji
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/tjdywoxbji b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/tjdywoxbji
new file mode 100644
index 0000000..8bb9a76
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-with-orphaned-locations/locations/tjdywoxbji
@@ -0,0 +1,18 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.jclouds.JcloudsLocation</type>
+  <id>tjdywoxbji</id>
+  <children>
+    <string>pudtixbw89</string>
+  </children>
+  <locationConfig>
+    <vmInstanceIds>
+      <map>
+        <entry>
+          <locationProxy>pudtixbw89</locationProxy>
+          <string>eu-west-1/i-edcf8361</string>
+        </entry>
+      </map>
+    </vmInstanceIds>
+  </locationConfig>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/xk1z8wlgx2
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/xk1z8wlgx2 b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/xk1z8wlgx2
new file mode 100644
index 0000000..280a045
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/xk1z8wlgx2
@@ -0,0 +1,34 @@
+<entity>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.entity.stock.BasicApplicationImpl</type>
+  <id>xk1z8wlgx2</id>
+  <displayName>element1</displayName>
+  <tags>
+    <org.apache.brooklyn.core.mgmt.BrooklynTags_-NamedStringTag>
+      <kind>yaml_spec</kind>
+      <contents>name: element1
+location:
+  jclouds:aws-ec2:eu-west-1
+services:
+- type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess</contents>
+    </org.apache.brooklyn.core.mgmt.BrooklynTags_-NamedStringTag>
+  </tags>
+  <children>
+    <string>yudk65cb3j</string>
+  </children>
+  <config>
+    <camp.template.id>S0Odehz7</camp.template.id>
+    <brooklyn.wrapper__app type="boolean">true</brooklyn.wrapper__app>
+  </config>
+  <locations>
+    <string>tjdywoxbji</string>
+  </locations>
+  <attributes>
+    <service.state.expected>
+      <org.apache.brooklyn.core.entity.lifecycle.Lifecycle_-Transition>
+        <state>RUNNING</state>
+        <timestampUtc>1467993426499</timestampUtc>
+      </org.apache.brooklyn.core.entity.lifecycle.Lifecycle_-Transition>
+    </service.state.expected>
+  </attributes>
+</entity>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/yudk65cb3j
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/yudk65cb3j b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/yudk65cb3j
new file mode 100644
index 0000000..072cdb8
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/entities/yudk65cb3j
@@ -0,0 +1,22 @@
+<entity>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.entity.software.base.EmptySoftwareProcessImpl</type>
+  <id>yudk65cb3j</id>
+  <displayName>EmptySoftwareProcess:yudk</displayName>
+  <parent>xk1z8wlgx2</parent>
+  <config>
+    <camp.template.id>fh4wq1FX</camp.template.id>
+    <onbox.base.dir.resolved type="boolean">true</onbox.base.dir.resolved>
+    <install.unique__label>EmptySoftwareProcess</install.unique__label>
+  </config>
+  <locations>
+    <string>pudtixbw89</string>
+  </locations>
+  <attributes>
+    <softwareservice.provisioningLocation>
+      <locationProxy>tjdywoxbji</locationProxy>
+    </softwareservice.provisioningLocation>
+    <host.subnet.hostname>ec2-54-155-107-26.eu-west-1.compute.amazonaws.com</host.subnet.hostname>
+    <service.process.isRunning type="boolean">true</service.process.isRunning>
+  </attributes>
+</entity>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/pudtixbw89
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/pudtixbw89 b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/pudtixbw89
new file mode 100644
index 0000000..8368d2d
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/pudtixbw89
@@ -0,0 +1,11 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.jclouds.JcloudsSshMachineLocation</type>
+  <id>pudtixbw89</id>
+  <parent>tjdywoxbji</parent>
+  <locationConfig>
+    <jcloudsParent>
+      <locationProxy>tjdywoxbji</locationProxy>
+    </jcloudsParent>
+  </locationConfig>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/tjdywoxbji
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/tjdywoxbji b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/tjdywoxbji
new file mode 100644
index 0000000..8bb9a76
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/locations/tjdywoxbji
@@ -0,0 +1,18 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.jclouds.JcloudsLocation</type>
+  <id>tjdywoxbji</id>
+  <children>
+    <string>pudtixbw89</string>
+  </children>
+  <locationConfig>
+    <vmInstanceIds>
+      <map>
+        <entry>
+          <locationProxy>pudtixbw89</locationProxy>
+          <string>eu-west-1/i-edcf8361</string>
+        </entry>
+      </map>
+    </vmInstanceIds>
+  </locationConfig>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/exq3hn5eug
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/exq3hn5eug b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/exq3hn5eug
new file mode 100644
index 0000000..e17f3fa
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/exq3hn5eug
@@ -0,0 +1,19 @@
+<entity>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.entity.software.base.EmptyWindowsProcessImpl</type>
+  <id>exq3hn5eug</id>
+  <displayName>EmptyWindowsProcess:exq3</displayName>
+  <parent>ntvotn3iwc</parent>
+  <locations>
+    <string>jf4rwubqyb</string>
+    <string>jf4rwuTTTb</string>
+    <string>jf4rwuHHHb</string>
+  </locations>
+  <attributes>
+    <softwareservice.provisioningLocation>
+      <locationProxy>m72nvkl799</locationProxy>
+      <locationProxy>m72nTYl799</locationProxy>
+      <locationProxy>m72LKVN799</locationProxy>
+    </softwareservice.provisioningLocation>
+  </attributes>
+</entity>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/ntvotn3iwc
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/ntvotn3iwc b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/ntvotn3iwc
new file mode 100644
index 0000000..fc136ee
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/entities/ntvotn3iwc
@@ -0,0 +1,18 @@
+<entity>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.entity.stock.BasicApplicationImpl</type>
+  <id>ntvotn3iwc</id>
+  <displayName>multipleLocWinLocalhost</displayName>
+  <children>
+    <string>exq3hn5eug</string>
+  </children>
+  <config>
+    <camp.template.id>B6WmUWfk</camp.template.id>
+    <brooklyn.wrapper__app type="boolean">true</brooklyn.wrapper__app>
+  </config>
+  <locations>
+    <string>m72nvkl799</string>
+    <string>m72nPTUF99</string>
+    <string>m72nhtDr99</string>
+  </locations>
+</entity>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/jf4rwubqyb
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/jf4rwubqyb b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/jf4rwubqyb
new file mode 100644
index 0000000..3380c78
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/jf4rwubqyb
@@ -0,0 +1,7 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.winrm.WinRmMachineLocation</type>
+  <id>jf4rwubqyb</id>
+  <displayName>WinRmMachineLocation:jf4r</displayName>
+  <parent>m72nvkl799</parent>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/m72nvkl799
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/m72nvkl799 b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/m72nvkl799
new file mode 100644
index 0000000..5572f8e
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/m72nvkl799
@@ -0,0 +1,10 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.byon.FixedListMachineProvisioningLocation</type>
+  <id>m72nvkl799</id>
+  <displayName>FixedListMachineProvisioningLocation:m72n</displayName>
+  <children>
+    <string>jf4rwubqyb</string>
+    <string>pski1c4s14</string>
+  </children>
+</location>

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9e6dfc46/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/pski1c4s14
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/pski1c4s14 b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/pski1c4s14
new file mode 100644
index 0000000..6d99872
--- /dev/null
+++ b/launcher/src/test/resources/orphaned-locations-test-data/fake-multiple-location-for-multiple-search-tests/locations/pski1c4s14
@@ -0,0 +1,7 @@
+<location>
+  <brooklynVersion>0.10.0-SNAPSHOT</brooklynVersion>
+  <type>org.apache.brooklyn.location.winrm.WinRmMachineLocation</type>
+  <id>pski1c4s14</id>
+  <displayName>WinRmMachineLocation:pski</displayName>
+  <parent>m72nvkl799</parent>
+</location>