mirror of https://github.com/apache/jclouds.git
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:
parent
eda96a0ab9
commit
47350e354c
|
@ -165,7 +165,7 @@ public class AWSS3ClientLiveTest extends S3ClientLiveTest {
|
||||||
* using the "eu-central-1" region which only support signature v4.
|
* using the "eu-central-1" region which only support signature v4.
|
||||||
*/
|
*/
|
||||||
public void testV4SignatureOps() throws InterruptedException {
|
public void testV4SignatureOps() throws InterruptedException {
|
||||||
String containerName = getContainerName();
|
String containerName = getScratchContainerName() + "eu";
|
||||||
try {
|
try {
|
||||||
BlobStore blobStore = view.getBlobStore();
|
BlobStore blobStore = view.getBlobStore();
|
||||||
Location location = Iterables.tryFind(blobStore.listAssignableLocations(),
|
Location location = Iterables.tryFind(blobStore.listAssignableLocations(),
|
||||||
|
@ -206,7 +206,7 @@ public class AWSS3ClientLiveTest extends S3ClientLiveTest {
|
||||||
// Cleanup the container.
|
// Cleanup the container.
|
||||||
blobStore.removeBlob(containerName, blobName);
|
blobStore.removeBlob(containerName, blobName);
|
||||||
} finally {
|
} finally {
|
||||||
returnContainer(containerName);
|
destroyContainer(containerName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue