[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-880) Hard-coded localhost in ejb3 test suite
Juraci Paixao Krohling (JIRA)
jira-events at lists.jboss.org
Wed Feb 25 07:37:45 EST 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraci Paixao Krohling resolved EJBTHREE-880.
---------------------------------------------
Resolution: Won't Fix
I talked to Carlo about it, and there *are* valid test cases which requires the node0 to be localhost. As an example, there is a test which compares the hostname (localhost) with the expected IP (127.0.0.1). I don't think we can easily achieve this without using localhost. At most, we can change some tests to use node0 instead of localhost, but some of them will still be localhost, still requiring the test to set node0 to localhost .
> Hard-coded localhost in ejb3 test suite
> ---------------------------------------
>
> Key: EJBTHREE-880
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-880
> Project: EJB 3.0
> Issue Type: Bug
> Reporter: Aleksandar Kostadinov
> Assignee: Juraci Paixao Krohling
> Attachments: ejb3-4.0-testsuite Build Completed With Testsuite Errors.eml, ejb3-4.2-testsuite Build Completed With Testsuite Errors.eml
>
>
> When the ejb3 testsuite is run with "-Dnode0=IP1 -Dnode1=IP2" and IP1!=localhost there are some tests failing with "Retries exceeded, couldn't reconnect to 127.0.0.1:####". I see this for 4_0 and 4_2 jboss branches, but guess it's the same with head.
> One of the testcases is IiopRemoteUnitTestCase. I've checked ejb3/src/test/org/jboss/ejb3/test/iiop/unit/IiopRemoteUnitTestCase.java and there is 'props.put("java.naming.provider.url", "corbaloc::localhost:3528/NameService");'. Instead of localhost there should be used the node0 property. I guess the others have the same problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list