From 282f3e2a37be784be4ad9128b4b0c259829b85bf Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Wed, 10 Apr 2013 13:04:44 +0200 Subject: [PATCH] Trying to get the test to *pass* now --- apis/s3/src/test/java/org/jclouds/s3/S3ClientMockTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/s3/src/test/java/org/jclouds/s3/S3ClientMockTest.java b/apis/s3/src/test/java/org/jclouds/s3/S3ClientMockTest.java index a040eb0c4a..d1b633f3cb 100644 --- a/apis/s3/src/test/java/org/jclouds/s3/S3ClientMockTest.java +++ b/apis/s3/src/test/java/org/jclouds/s3/S3ClientMockTest.java @@ -70,9 +70,9 @@ public class S3ClientMockTest { public void testZeroLengthPutHasContentLengthHeader() throws IOException, InterruptedException { MockWebServer server = new MockWebServer(); - server.enqueue(new MockResponse().setBody("").addHeader(ETAG, "ABCDEF")); + server.enqueue(new MockResponse().addHeader(ETAG, "ABCDEF")); // hangs on Java 7 without this additional response ?!? - server.enqueue(new MockResponse()); + server.enqueue(new MockResponse().addHeader(ETAG, "ABCDEF")); server.play(); S3Client client = getS3Client(server.getUrl("/"));