jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds] Multipart upload code fixes for swift (#745)
Date Tue, 12 May 2015 21:48:10 GMT
> @@ -553,7 +553,7 @@ protected void addTenObjectsUnderPrefix(String containerName, String
prefix) thr
>  
>     protected void awaitConsistency() {
>        if (view.getConsistencyModel() == ConsistencyModel.EVENTUAL) {
> -         Uninterruptibles.sleepUninterruptibly(10, TimeUnit.SECONDS);
> +         Uninterruptibles.sleepUninterruptibly(20, TimeUnit.SECONDS);

Can you just override this in `SwiftContainerIntegrationLiveTest` if needed?  This sleep is
really unfortunate since it slows down all tests unnecessarily, not just the uncommon case
of eventual consistency.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/745/files#r30184289
Mime
View raw message