Don't need to configure name in integration test.

https://github.com/apache/incubator-brooklyn/pull/1030#discussion_r44860541


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

Branch: refs/heads/master
Commit: 89d69269cad450f342a622c375b92c00c5482670
Parents: 5f98079
Author: Geoff Macartney <[email protected]>
Authored: Tue Nov 17 14:18:17 2015 +0000
Committer: Geoff Macartney <[email protected]>
Committed: Tue Nov 17 14:29:29 2015 +0000

----------------------------------------------------------------------
 .../test/framework/SimpleShellCommandIntegrationTest.java     | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/89d69269/usage/test-framework/src/test/java/org/apache/brooklyn/test/framework/SimpleShellCommandIntegrationTest.java
----------------------------------------------------------------------
diff --git 
a/usage/test-framework/src/test/java/org/apache/brooklyn/test/framework/SimpleShellCommandIntegrationTest.java
 
b/usage/test-framework/src/test/java/org/apache/brooklyn/test/framework/SimpleShellCommandIntegrationTest.java
index d6ff949..7b6c732 100644
--- 
a/usage/test-framework/src/test/java/org/apache/brooklyn/test/framework/SimpleShellCommandIntegrationTest.java
+++ 
b/usage/test-framework/src/test/java/org/apache/brooklyn/test/framework/SimpleShellCommandIntegrationTest.java
@@ -48,16 +48,11 @@ public class SimpleShellCommandIntegrationTest extends 
BrooklynAppUnitTestSuppor
 
     private static final String UP = "up";
     private LocalhostMachineProvisioningLocation localhost;
-    private String testId;
-
 
     protected void setUpApp() {
         super.setUpApp();
-        testId = UUID.randomUUID().toString();
-
         localhost = app.getManagementContext().getLocationManager()
-            
.createLocation(LocationSpec.create(LocalhostMachineProvisioningLocation.class)
-                .configure("name", testId));
+            
.createLocation(LocationSpec.create(LocalhostMachineProvisioningLocation.class));
     }
 
     @Test(groups = "Integration")

Reply via email to