From 8bdded3222b0b47eef86cbf4a59aec26a45dd96a Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Wed, 4 Sep 2013 15:12:26 -0700 Subject: [PATCH] Delete containers after integration tests Also return newly allocated containers to the pool. --- .../internal/BaseBlobStoreIntegrationTest.java | 12 +++++++++++- .../internal/BaseContainerIntegrationTest.java | 5 +++-- .../integration/internal/BaseContainerLiveTest.java | 4 ++-- .../internal/BaseServiceIntegrationTest.java | 2 +- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/blobstore/src/test/java/org/jclouds/blobstore/integration/internal/BaseBlobStoreIntegrationTest.java b/blobstore/src/test/java/org/jclouds/blobstore/integration/internal/BaseBlobStoreIntegrationTest.java index 3c2bc0a45d..e6413ec460 100644 --- a/blobstore/src/test/java/org/jclouds/blobstore/integration/internal/BaseBlobStoreIntegrationTest.java +++ b/blobstore/src/test/java/org/jclouds/blobstore/integration/internal/BaseBlobStoreIntegrationTest.java @@ -50,6 +50,7 @@ import org.jclouds.javax.annotation.Nullable; import org.jclouds.util.Strings2; import org.testng.ITestContext; import org.testng.annotations.AfterClass; +import org.testng.annotations.AfterSuite; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeSuite; @@ -101,6 +102,15 @@ public class BaseBlobStoreIntegrationTest extends BaseViewLiveTest setupModules() { return ImmutableSet. of(getLoggingModule(), createHttpModule()); @@ -499,7 +509,7 @@ public class BaseBlobStoreIntegrationTest extends BaseViewLiveTest