> @@ -236,7 +242,11 @@ public boolean apply(VolumeApi volumeApi) {
>              assertNotNull(attachments);
>              assertEquals(attachments.size(), before + 1);
>  
> -            
> assertEquals(volumeOption.get().get(testVolume.getId()).getStatus(), 
> Volume.Status.IN_USE);
> +            assertTrue(retry(new Predicate<VolumeApi>() {
> +               public boolean apply(VolumeApi volumeApi) {
> +                  return volumeApi.get(testVolume.getId()).getStatus() == 
> Volume.Status.IN_USE;
> +               }
> +            }, 30 * 1000L).apply(volumeOption.get()));

Done.

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

Reply via email to