> @@ -153,7 +153,9 @@ public void testMultipartChunkedFilenames() throws
> InterruptedException, IOExcep
> // download and check if correct
> Blob read = blobStore.getBlob(containerName, objectName);
> Payload readPayload = read.getPayload();
> - assertTrue(Arrays.equals(inputSource.read(),
> ByteStreams2.toByteArrayAndClose(readPayload.openStream())));
> + try (InputStream is = readPayload.openStream()) {
> + assertEquals(inputSource.read(), ByteStreams.toByteArray(is));
Does this handle arrays nicely?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/506/files#r17994288