harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nellya Udovichenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5302) [buildtest][gut] Incorrect Geronimo tests
Date Thu, 13 Dec 2007 14:03:43 GMT
[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


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.


Mime
View raw message