assertArrayEquals(randomData, otherData);
assertEquals(-1, is.read()); // Could hang if there's a bug on the other end
// Clean up
client.deleteObject(containerName, filename);
assertTrue(client.deleteContainer(containerName));
}
catch (Exception e) {
e.printStackTrace();
if (e.getCause() != null) e.getCause().printStackTrace();