jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject [jclouds] Work around mockwebserver hangs in S3 tests (#502)
Date Tue, 02 Sep 2014 05:46:46 GMT
Previously S3ClientMockTest.testZeroLengthPutHasContentLengthHeader
would hang in MWS at:

at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
- locked &lt;0x00000000d6d8fd60&gt; (a java.io.BufferedInputStream)
at com.squareup.okhttp.mockwebserver.MockWebServer.readAsciiUntilCrlf(MockWebServer.java:570)
at com.squareup.okhttp.mockwebserver.MockWebServer.readRequest(MockWebServer.java:439)

and in jclouds at:

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
- locked &lt;0x00000000d6d012e0&gt; (a sun.net.www.protocol.http.HttpURLConnection)
at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.invoke(JavaUrlHttpCommandExecutorService.java:103)
at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.invoke(JavaUrlHttpCommandExecutorService.java:71)
You can merge this Pull Request by running:

  git pull https://github.com/andrewgaul/jclouds mws-hang

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds/pull/502

-- Commit Summary --

  * Work around mockwebserver hangs in S3 tests

-- File Changes --

    M core/src/main/java/org/jclouds/http/internal/JavaUrlHttpCommandExecutorService.java
(1)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/502.patch
https://github.com/jclouds/jclouds/pull/502.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/502

Mime
View raw message