> > + 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())); > + > + } finally { > + if (server_id != null)
[minor] Add `{...}` after the if? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/326/files#r12545128