> @@ -150,7 +154,53 @@ public boolean apply(VolumeAttachmentApi 
> volumeAttachmentApi) {
>              if (server_id != null)
>                 api.getServerApiForZone(zone).delete(server_id);
>           }
> +      }
> +   }
> +
> +   @Test(dependsOnMethods = "testCreateVolume")
> +   public void testAttachmentAtBoot() {
> +      if (volumeApi.isPresent()) {
> +         String server_id = null;
> +         try {
> +            CreateServerOptions createServerOptions =
> +               CreateServerOptions.Builder.blockDeviceMapping(
> +                  Collections.singletonList(new 
> BlockDeviceMapping().deviceName("/dev/vdf").volumeId(testVolume.getId())));
> +            final String serverId = server_id = createServerInZone(zone, 
> createServerOptions).getId();

?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/326/files#r12544861

Reply via email to