> @@ -362,6 +364,30 @@ public void testCreateTwoNodesWithRunScript() throws
> Exception {
> checkOsMatchesTemplate(node2);
> }
>
> + @Test(enabled = true, dependsOnMethods =
> "testCreateTwoNodesWithRunScript")
> + public void testCreateTwoNodesWithOneSpecifiedName() throws Exception {
> + Set<? extends NodeMetadata> nodes;
> + try {
> + nodes = newTreeSet(client.createNodesInGroup(group, 2,
> nodeNames(ImmutableSet.of("first-node"))));
> + } catch (RunNodesException e) {
> + nodes = newTreeSet(concat(e.getSuccessfulNodes(),
> e.getNodeErrors().keySet()));
> + throw e;
Ah, thanks for explaining
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/206/files#r7782881