Bug #228
closedhttp-core test fails behind proxy (build problem)
0%
Description
StreamHttpClientConnectionTest.testRequestHttpGoogle
fails behind HTTP proxy because the connection times out. The compiled client (built by outcomenting the test case) however works behind proxy.
From the build output:java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at org.openecard.transport.httpcore.StreamHttpClientConnectionTest.testRequestHttpGoogle(StreamHttpClientConnectionTest.java:55)
Related issues
Updated by Tobias Wich over 11 years ago
Dirk recently proposed a separate integration test module, because he had a similar problem (sal deps in crypto-common).
Benedikt, what do you think about this proposition. Would that fit into our CI system?
To make it concrete, we would create something like the following structure in the project root.
/tests/integration
/tests/system
I don't think we should divide it further.
Comments please.
Updated by Hans-Martin Haase about 9 years ago
- Status changed from New to Review
The test is now an integration test and is just executed by the ci system.
Commit 73856e42b35d9feb368bd590b956831d168a163e
Updated by Tobias Wich about 9 years ago
- Status changed from Review to Closed
- Assignee set to Hans-Martin Haase
- Target version changed from 1.3.0 to 1.2.0
- Reviewer set to Tobias Wich