mirror of https://github.com/apache/jclouds.git
update to ensure metadata cannot have multiple values
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1974 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
33d11fe07f
commit
79a3e40d14
|
@ -389,6 +389,14 @@ public class BaseBlobIntegrationTest<S, C extends ContainerMetadata, M extends B
|
|||
|
||||
validateMetadata(metadata);
|
||||
validateMetadata(context.getBlobStore().blobMetadata(containerName, key));
|
||||
|
||||
// write 2 items with the same key to ensure that provider doesn't accept dupes
|
||||
object.getMetadata().getUserMetadata().put("Adrian", "wonderpuff");
|
||||
object.getMetadata().getUserMetadata().put("Adrian", "powderpuff");
|
||||
|
||||
addBlobToContainer(containerName, object);
|
||||
validateMetadata(context.getBlobStore().blobMetadata(containerName, key));
|
||||
|
||||
} finally {
|
||||
returnContainer(containerName);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue