[jboss-jira] [JBoss JIRA] Commented: (JBAS-5591) Fix org.jboss.test.cts.test.*

Adrian Brock (JIRA) jira-events at lists.jboss.org
Mon Jun 16 08:23:42 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAS-5591?page=comments#action_12417267 ] 
            
Adrian Brock commented on JBAS-5591:
------------------------------------

I've ported this from the 4.2.x version of the test. So let's where that gets us on hudson.

Index: src/main/org/jboss/test/cts/ejb/CallerSessionBean.java
===================================================================
--- src/main/org/jboss/test/cts/ejb/CallerSessionBean.java      (revision 74602)
+++ src/main/org/jboss/test/cts/ejb/CallerSessionBean.java      (working copy)
@@ -238,7 +238,7 @@
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
       env.setProperty(Context.OBJECT_FACTORIES, "org.jboss.naming:org.jnp.interfaces");
-      env.setProperty(Context.PROVIDER_URL, "localhost:1099");
+      env.setProperty(Context.PROVIDER_URL, System.getProperty("jboss.bind.address", "localhost") + ":1099");
 
       InitialContext ctx = new InitialContext(env);
       log.info("looking up: "+ejbName);


> Fix org.jboss.test.cts.test.*
> -----------------------------
>
>                 Key: JBAS-5591
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5591
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>            Reporter: Dimitris Andreadis
>         Assigned To: Shelly McGowan
>
> The Failing tests are essentially 2, testInterJarCall & testCallByValueInSameJar within the IndependentJarsUnitTestCase unit test case.
> org.jboss.test.cts.test.IndependentJarsUnitTestCase.testInterJarCall
> org.jboss.test.cts.test.IndependentJarsUnitTestCase(JRMP-Invoker).testInterJarCall
> org.jboss.test.cts.test.IndependentJarsUnitTestCase(JRMP-Invoker).testCallByValueInSameJar	
> org.jboss.test.cts.test.IndependentJarsUnitTestCase(Pooled-Invoker).testInterJarCall	
> org.jboss.test.cts.test.IndependentJarsUnitTestCase(Pooled-Invoker).testCallByValueInSameJar
> The weird thing is I can run them without problems on windows but the fail on Hudson:
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-sun15/632/testReport/org.jboss.test.cts.test/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list