mirror of https://github.com/apache/jclouds.git
Trying to get the test to *pass* now
This commit is contained in:
parent
52301e0a86
commit
282f3e2a37
|
@ -70,9 +70,9 @@ public class S3ClientMockTest {
|
||||||
|
|
||||||
public void testZeroLengthPutHasContentLengthHeader() throws IOException, InterruptedException {
|
public void testZeroLengthPutHasContentLengthHeader() throws IOException, InterruptedException {
|
||||||
MockWebServer server = new MockWebServer();
|
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 ?!?
|
// hangs on Java 7 without this additional response ?!?
|
||||||
server.enqueue(new MockResponse());
|
server.enqueue(new MockResponse().addHeader(ETAG, "ABCDEF"));
|
||||||
server.play();
|
server.play();
|
||||||
|
|
||||||
S3Client client = getS3Client(server.getUrl("/"));
|
S3Client client = getS3Client(server.getUrl("/"));
|
||||||
|
|
Loading…
Reference in New Issue