mirror of https://github.com/apache/jclouds.git
Issue 86: fixed test
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1880 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
0412f20614
commit
535e2edadd
|
@ -115,7 +115,7 @@ public class AzureBlobConnectionLiveTest {
|
||||||
} catch (UndeclaredThrowableException e) {
|
} catch (UndeclaredThrowableException e) {
|
||||||
AzureStorageResponseException htpe = (AzureStorageResponseException) e.getCause()
|
AzureStorageResponseException htpe = (AzureStorageResponseException) e.getCause()
|
||||||
.getCause();
|
.getCause();
|
||||||
if (htpe.getError().getCode().equals("ContainerBeingDeleted")) {
|
if (htpe.getResponse().getStatusCode() == 409) {// TODO look for specific message
|
||||||
Thread.sleep(5000);
|
Thread.sleep(5000);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue