[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-880) Hard-coded localhost in ejb3 test suite

Aleksandar Kostadinov (JIRA) jira-events at lists.jboss.org
Wed Feb 25 09:01:45 EST 2009


    [ https://jira.jboss.org/jira/browse/EJBTHREE-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454216#action_12454216 ] 

Aleksandar Kostadinov commented on EJBTHREE-880:
------------------------------------------------

Interesting, so how should these features would work for a customer where the multicast path generally doesn't point to localhost?
As well by multicasting, one is allowed to bind to specific interfaces. So in case you really, really need to have everything on localhost (what I still can't understand why), then by these tests you can specifically listen on lo and send through lo.
The whole purpose of having node0 and node1 is defeated btw. Why use them when we still rely on localhost? Can't you use separate port sets to run your servers?

> 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