You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Stepan Mishura (JIRA)" <ji...@apache.org> on 2008/01/30 11:20:34 UTC
[jira] Closed: (HARMONY-5302) [buildtest][gut] Incorrect Geronimo
tests
[ https://issues.apache.org/jira/browse/HARMONY-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stepan Mishura closed HARMONY-5302.
-----------------------------------
Resolution: Fixed
Closing - 4 first tests pass with Geronimo Unit Tests 2.0.2 on r615453 snapshot on all platforms. The last 2 are absent in the suite.
> [buildtest][gut] Incorrect Geronimo tests
> -----------------------------------------
>
> Key: HARMONY-5302
> URL: https://issues.apache.org/jira/browse/HARMONY-5302
> Project: Harmony
> Issue Type: Bug
> Components: build - test - ci
> Reporter: Nellya Udovichenko
> Assignee: Stepan Mishura
> Attachments: H-5302-excluded.patch
>
>
> There are several tests
> org\apache\geronimo\security\jaas\ConfigurationEntryTest
> org\apache\geronimo\security\jaas\LoginKerberousNonGeronimoTest
> org\apache\geronimo\security\jaas\LoginKerberousTest
> org\apache\geronimo\security\jaas\LoginSQLTest
> org\apache\geronimo\security\network\protocol\SubjectCarryingProtocolTest
> org\apache\geronimo\security\remoting\jmx\RemoteLoginTest
> those periodically fail on Linux. If the tests don't execute successfully they have the same log:
> Login attempt failed.
> ...
> moreCaused by: java.net.ConnectException: localhost/127.0.0.1:4242 - Connection refused
> at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:229)
> at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:193)
> at java.net.Socket.startupSocket(Socket.java:662)
> at java.net.Socket.&init&...
> ...
> It seems that the reason of the fails is the hardcoded port 4242 in the classes.
> Tests ConfigurationEntryTest and RemoteLoginTest contains it in their classes texts and other - in extended class org\apache\geronimo\security\AbstractTest:
> ...
> gbean.setAttribute("port", new Integer(4242));
> ...
> \\ By the way these tests of G-2.0.2 work successfully. And the port 4242 isn't hardcoded there.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.