mirror of https://github.com/apache/jclouds.git
Remove bucket litter during integration tests
This commit is contained in:
parent
9d3a7bdd4d
commit
ff2d150d7d
|
@ -116,6 +116,8 @@ public class BucketApiLiveTest extends BaseGoogleCloudStorageApiLiveTest {
|
|||
assertEquals(response.name(), BUCKET_NAME_STANDARD);
|
||||
assertEquals(response.location(), Location.US);
|
||||
assertThat(response.storageClass()).isEqualTo(StorageClass.STANDARD);
|
||||
|
||||
api().deleteBucket(BUCKET_NAME_STANDARD);
|
||||
}
|
||||
|
||||
@Test(groups = "live")
|
||||
|
@ -131,6 +133,8 @@ public class BucketApiLiveTest extends BaseGoogleCloudStorageApiLiveTest {
|
|||
assertEquals(response.name(), BUCKET_NAME_NEARLINE);
|
||||
assertEquals(response.location(), Location.US);
|
||||
assertThat(response.storageClass()).isEqualTo(StorageClass.NEARLINE);
|
||||
|
||||
api().deleteBucket(BUCKET_NAME_NEARLINE);
|
||||
}
|
||||
|
||||
@Test(groups = "live", dependsOnMethods = { "testCreateBucket" })
|
||||
|
|
Loading…
Reference in New Issue