From 535e2edaddbdfd61914eb5cc1b88119df514d1eb Mon Sep 17 00:00:00 2001 From: "adrian.f.cole" Date: Thu, 3 Sep 2009 08:17:02 +0000 Subject: [PATCH] Issue 86: fixed test git-svn-id: http://jclouds.googlecode.com/svn/trunk@1880 3d8758e0-26b5-11de-8745-db77d3ebf521 --- .../jclouds/azure/storage/blob/AzureBlobConnectionLiveTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/storage/blob/core/src/test/java/org/jclouds/azure/storage/blob/AzureBlobConnectionLiveTest.java b/azure/storage/blob/core/src/test/java/org/jclouds/azure/storage/blob/AzureBlobConnectionLiveTest.java index 5e229f3267..24f9303f25 100644 --- a/azure/storage/blob/core/src/test/java/org/jclouds/azure/storage/blob/AzureBlobConnectionLiveTest.java +++ b/azure/storage/blob/core/src/test/java/org/jclouds/azure/storage/blob/AzureBlobConnectionLiveTest.java @@ -115,7 +115,7 @@ public class AzureBlobConnectionLiveTest { } catch (UndeclaredThrowableException e) { AzureStorageResponseException htpe = (AzureStorageResponseException) e.getCause() .getCause(); - if (htpe.getError().getCode().equals("ContainerBeingDeleted")) { + if (htpe.getResponse().getStatusCode() == 409) {// TODO look for specific message Thread.sleep(5000); continue; }