>  
> +            assertTrue(foundIt, "Failed to find the attachment we set in 
> listAttachments() response");
> +
> +            
> volumeAttachmentApi.get().detachVolumeFromServer(testVolume.getId(), 
> serverId);
> +            assertTrue(retry(new Predicate<VolumeAttachmentApi>() {
> +               public boolean apply(VolumeAttachmentApi volumeAttachmentApi) 
> {
> +                  return 
> volumeAttachmentApi.listAttachmentsOnServer(serverId).size() == before - 1;
> +               }
> +            }, 60 * 1000L).apply(volumeAttachmentApi.get()));

No idea what I was thinking here, looking over the API docs, the detach volume 
from server function should only return when the volume has successfully 
detached. Fixed in latest commit.

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

Reply via email to