Use eu-central-1 region in v4 signer test

Previously the test tried to create a container in eu-central-1 after
it already existed in us-standard.
This commit is contained in:
Andrew Gaul 2017-01-10 18:19:28 -08:00
parent eda96a0ab9
commit 47350e354c
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ public class AWSS3ClientLiveTest extends S3ClientLiveTest {
* using the "eu-central-1" region which only support signature v4.
*/
public void testV4SignatureOps() throws InterruptedException {
String containerName = getContainerName();
String containerName = getScratchContainerName() + "eu";
try {
BlobStore blobStore = view.getBlobStore();
Location location = Iterables.tryFind(blobStore.listAssignableLocations(),
@ -206,7 +206,7 @@ public class AWSS3ClientLiveTest extends S3ClientLiveTest {
// Cleanup the container.
blobStore.removeBlob(containerName, blobName);
} finally {
returnContainer(containerName);
destroyContainer(containerName);
}
}
}