[
https://jira.jboss.org/jira/browse/EJBTHREE-880?page=com.atlassian.jira.p...
]
Juraci Paixao Krohling commented on EJBTHREE-880:
-------------------------------------------------
A quick grep on ejb3 tests returned these files:
./org/jboss/ejb3/test/clusteredservice/servlets/EJBServlet.java
./org/jboss/ejb3/test/clusteredservice/unit/HttpUtils.java
./org/jboss/ejb3/test/clusteredservice/unit/ServiceTestCase.java
./org/jboss/ejb3/test/dd/web/unit/WebIntegrationUnitTestCase.java
./org/jboss/ejb3/test/invoker/StatelessBean.java
./org/jboss/ejb3/test/invoker/StatelessSSLBean.java
./org/jboss/ejb3/test/jca/inflowmdb/TestMDBMessageListener.java
./org/jboss/ejb3/test/jca/inflow/TestActivationSpec.java
./org/jboss/ejb3/test/security/servlets/HttpUtils.java
./org/jboss/ejb3/test/servicedependency/Customer.java
./org/jboss/ejb3/test/wls/embeddedwar/unit/EmbeddedEjb3TestCase.java
After a quick look, the one which concerns me more is
./org/jboss/ejb3/test/jca/inflow/TestActivationSpec.java . This one seems to actually
require the node0 to be localhost:
<code>
/** The 127.0.0.1 address */
private InetAddress localhost;
...
if( localhost.getHostAddress().equals("127.0.0.1") == false )
throw new InvalidPropertyException("localhost is not 127.0.0.1");
</code>
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