mirror of https://github.com/apache/jclouds.git
Issue 57: Fixed test that deletes a bucket to use a Scratch bucket name -- this was the culprit causing downstream test failures
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1451 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
dac9da390a
commit
be824d757f
|
@ -59,12 +59,12 @@ public class DeleteBucketIntegrationTest extends S3IntegrationTest {
|
|||
|
||||
@Test
|
||||
void deleteBucketIfEmpty() throws Exception {
|
||||
String bucketName = getBucketName();
|
||||
String bucketName = getScratchBucketName();
|
||||
try {
|
||||
assert client.deleteBucketIfEmpty(bucketName).get(10, TimeUnit.SECONDS);
|
||||
assert !client.bucketExists(bucketName).get(10, TimeUnit.SECONDS);
|
||||
} finally {
|
||||
returnBucket(bucketName);
|
||||
returnScratchBucket(bucketName);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue