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:
jamurty 2009-06-21 00:27:31 +00:00
parent dac9da390a
commit be824d757f
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}