> @@ -41,7 +44,11 @@ public static void deleteRecursively(File file) throws 
> IOException {
>           }
>        }
>        if (!file.delete()) {
> -         throw new IOException("Could not delete: " + file);
> +         // On windows, often the directory does not register as empty right 
> away.
> +         Uninterruptibles.sleepUninterruptibly(5, TimeUnit.SECONDS);

Fair point, @andrewgaul. @zack-shoylev: did the 5s delay improve things in your 
test runs? I'm guessing so..?

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

Reply via email to