mirror of https://github.com/apache/jclouds.git
Do not call createContainer(getContainerName)
BaseBlobStoreIntegrationTest.getContainerName implicitly calls createContainer.
This commit is contained in:
parent
3aabd50790
commit
f468a951b2
|
@ -55,8 +55,6 @@ public class SwiftContainerIntegrationLiveTest extends BaseContainerIntegrationT
|
||||||
|
|
||||||
String containerName = getContainerName();
|
String containerName = getContainerName();
|
||||||
|
|
||||||
assertTrue(swift.createContainer(containerName));
|
|
||||||
|
|
||||||
ImmutableMap<String, String> metadata = ImmutableMap.<String, String> of(
|
ImmutableMap<String, String> metadata = ImmutableMap.<String, String> of(
|
||||||
"key1", "value1",
|
"key1", "value1",
|
||||||
"key2", "value2");
|
"key2", "value2");
|
||||||
|
@ -81,8 +79,6 @@ public class SwiftContainerIntegrationLiveTest extends BaseContainerIntegrationT
|
||||||
"key2", "value2",
|
"key2", "value2",
|
||||||
"key3", "value3"));
|
"key3", "value3"));
|
||||||
|
|
||||||
assertTrue(swift.createContainer(containerName, options));
|
|
||||||
|
|
||||||
ContainerMetadata containerMetadata = swift.getContainerMetadata(containerName);
|
ContainerMetadata containerMetadata = swift.getContainerMetadata(containerName);
|
||||||
|
|
||||||
assertEquals(containerMetadata.getMetadata().size(), 3);
|
assertEquals(containerMetadata.getMetadata().size(), 3);
|
||||||
|
|
Loading…
Reference in New Issue