Project

General

Profile

Actions

Bug #228

closed

http-core test fails behind proxy (build problem)

Added by Maximilian Stein almost 11 years ago. Updated over 8 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
Actions #1

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

Actions #2

Updated by Tobias Wich almost 10 years ago

  • Target version set to 1.3.0
Actions #3

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

Actions #4

Updated by Tobias Wich over 8 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
Actions

Also available in: Atom PDF