[
http://jira.jboss.com/jira/browse/JBESB-537?page=comments#action_12361793 ]
Daniel Bevenius commented on JBESB-537:
---------------------------------------
These changes can be seen in this workspace :
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/workspace/dbevenius/
Not that they are that exciting but still :)
I did this modification to HttpRouterUnitTest :
@Test ( timeout=7000, expected = ActionProcessingException.class )
@Ignore
public void testRouter_IP_Address() throws ActionProcessingException
{
setRouterURL( "http://172.16.127.160:9090" );
HttpRouter router = new HttpRouter(tree);
router.process(msg);
}
as it was timing out and causing the build to take a long time to complete. It was more
then seven minutes and now it takes around four minutes.
Tidy up junit test. Several test show errors that are logged as
intentional.
----------------------------------------------------------------------------
Key: JBESB-537
URL:
http://jira.jboss.com/jira/browse/JBESB-537
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Daniel Bevenius
Assigned To: Daniel Bevenius
Priority: Trivial
A few junit test display errors that are not marked as intentional. For example the
SqlTableGatewayListenerUnitTest:
[java] [junit] ------------- Standard Error -----------------
[java] [junit] java.lang.NullPointerException
[java] [junit] at java.lang.Class.forName0(Native Method)
[java] [junit] at java.lang.Class.forName(Class.java:242)
[java] [junit] at
org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:48)
[java] [junit] at
org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:65)
[java] [junit] at
org.jboss.soa.esb.services.registry.RegistryFactory.getRegistry(RegistryFactory.java:51)
[java] [junit] at
org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:206)
[java] [junit] at
org.jboss.soa.esb.listeners.gateway.SqlTableGatewayListener.doInitialise(SqlTableGatewayListener.java:112)
[java] [junit] at
org.jboss.soa.esb.listeners.gateway.SqlTableGatewayListenerUnitTest.testGateway(SqlTableGatewayListenerUnitTest.java:163)
[java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] [junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] [junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] [junit] at java.lang.reflect.Method.invoke(Method.java:585)
[java] [junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[java] [junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[java] [junit] at
junit.framework.TestResult$1.protect(TestResult.java:110)
[java] [junit] at
junit.framework.TestResult.runProtected(TestResult.java:128)
[java] [junit] at junit.framework.TestResult.run(TestResult.java:113)
[java] [junit] at junit.framework.TestCase.run(TestCase.java:120)
[java] [junit] at junit.framework.TestSuite.runTest(TestSuite.java:228)
[java] [junit] at junit.framework.TestSuite.run(TestSuite.java:223)
[java] [junit] at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[java] [junit] at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[java] [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[java] [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[java] [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
--
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