Browse files

Aligned tests to the new node-create syntax

  • Loading branch information...
1 parent 053908b commit efe486b53852728fc1906fa9bb07d69217d94cfc @iocanel iocanel committed Apr 5, 2012
View
2 itests/src/test/java/org/jclouds/karaf/itests/live/AwsEc2LiveTest.java
@@ -74,7 +74,7 @@ public void testCreateNodeLive() throws InterruptedException {
Thread.sleep(DEFAULT_TIMEOUT);
System.err.println(executeCommand("jclouds:image-list"));
- System.err.println(executeCommand("jclouds:node-create " + image + " " + location + " " + group));
+ System.err.println(executeCommand("jclouds:node-create --image " + image + " --location" + location + " " + group));
System.err.println(executeCommand("jclouds:group-runscript -d ls -u " + user + " " + group));
assertTrue("Expected at least one node", computeService.listNodes().size() >= 1);
}
View
2 itests/src/test/java/org/jclouds/karaf/itests/live/RackspaceLiveTest.java
@@ -73,7 +73,7 @@ public void testNodeCreateLive() throws InterruptedException {
ComputeService computeService = getOsgiService(ComputeService.class);
Thread.sleep(DEFAULT_TIMEOUT);
System.err.println(executeCommand("jclouds:image-list"));
- System.err.println(executeCommand("jclouds:node-create " + image + " " + location + " " + group));
+ System.err.println(executeCommand("jclouds:node-create --image " + image + " --location" + location + " " + group));
System.err.println(executeCommand("jclouds:group-runscript -d ls -u " + user + " " + group));
assertTrue("Expected at least one node", computeService.listNodes().size() >= 1);
}

0 comments on commit efe486b

Please sign in to comment.