harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Sayapina (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4437) [buildtest][func] getContent01, getContent02, openStream01 functional networking tests should be run using a proxy
Date Thu, 12 Jul 2007 10:59:04 GMT
[buildtest][func] getContent01, getContent02, openStream01 functional networking tests should
be run using a proxy
------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-4437
                 URL: https://issues.apache.org/jira/browse/HARMONY-4437
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
            Reporter: Elena Sayapina


The following 3 functional tests should be run using a proxy on machines without direct internet
connection: 

org/apache/harmony/test/func/networking/java/net/URL/GetContent01/getContent01
org/apache/harmony/test/func/networking/java/net/URL/GetContent02/getContent02
org/apache/harmony/test/func/networking/java/net/URL/OpenStream01/openStream01

In case of absence direct internet connection tests throw unexpected MalformedURLException
on Harmony and RI: Connection timed out

Tests can be fixed by adding jre options for the tests running to its configuration xml files:

<Option name="-Dhttp.proxyHost=<proxyPort>"/>
<Option name="-Dhttp.proxyPort=<Port>"/>

Or passing proxy configuration parameters to the tests and using openConnection(Proxy proxy)
inside the tests.







-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message