Project

General

Profile

Bug #228

http-core test fails behind proxy (build problem)

Added by Maximilian Stein about 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Target version:
Start date:
04/25/2013
Due date:
% Done:

0%

Estimated time:
Reviewer:
Build Version:

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

Related to Feature #72: Write Tests for Paos Module New05/29/2012

Actions

History

#1

Updated by Tobias Wich almost 7 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.

#2

Updated by Tobias Wich about 6 years ago

  • Target version set to 1.3.0
#3

Updated by Hans-Martin Haase over 4 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

#4

Updated by Tobias Wich over 4 years ago

  • Reviewer set to Tobias Wich
  • Target version changed from 1.3.0 to 1.2.0
  • Assignee set to Hans-Martin Haase
  • Status changed from Review to Closed

Also available in: Atom PDF