From 47350e354c22e3c44085be901b6afb5b47b057fc Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 10 Jan 2017 18:19:28 -0800 Subject: [PATCH] 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. --- .../src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java b/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java index ecdcdab8b1..2e57042ffe 100644 --- a/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java +++ b/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java @@ -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); } } }