> @@ -83,13 +101,65 @@ public void testSignBlob() throws InterruptedException, 
> ExecutionException {
>              continue;
>           }
>           String containerName = Iterables.getLast(containers).getName();
> -         PageSet<? extends StorageMetadata> blobs = 
> region.list(containerName);
> -         if (blobs.isEmpty()) {
> -            continue;
> +
> +         final ByteSource input = ByteSource.wrap("str".getBytes());
> +         final HttpClient client = ctx.utils().http();
> +
> +         // test signed put
> +         String blobName = "test-" + UUID.randomUUID();
> +         Blob blob2 = region.blobBuilder(blobName).forSigning()
> +               .contentLength(input.size())
> +               .contentMD5(input.hash(Hashing.md5()).asBytes())
> +               .contentType(MediaType.OCTET_STREAM.toString()).build();
> +         BlobRequestSigner signer = ctx.signerInRegion(regionId);

Valid build failure! Please change the signature to `getSigner(regionId)` and 
that should fix it.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/94/files#r16733330

Reply via email to