[ http://jira.jboss.com/jira/browse/JBAS-1316?page=comments#action_12314838 ] Alexey Loubyansky commented on JBAS-1316: -----------------------------------------
I couldn't reproduce this with C:\Program Files\Java\jdk1.5.0\bin>java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) I looked at the code though and found several places that could be the cause. Most probably this is org/jboss/test/cmp2/commerce/OneToManyBiTest.java. Could you please update it and try again? Thanks. > LazyResultSetLoadingTest testLazyResultSetLoading failure > --------------------------------------------------------- > > Key: JBAS-1316 > URL: http://jira.jboss.com/jira/browse/JBAS-1316 > Project: JBoss Application Server > Type: Bug > Components: CMP service > Versions: JBossAS-3.2.7 Final > Environment: [EMAIL PROTECTED] testsuite]$ $JAVA_HOME/bin/java -version > java version "1.5.0_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08) > Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing) > Reporter: Scott M Stark > Assignee: Alexey Loubyansky > Priority: Blocker > Fix For: JBossAS-3.2.7 Final > > > This seems to be another case of test data conflicts that I only see when > running all cmp2 test, and in this case only when using java5. > ant -Dtest=cmp2 -Djunit.timeout=180000 -Dnojars=t test > Buildfile: build.xml > test: > [delete] Deleting: C:\cvs\JBoss3.2\jboss-3.2\testsuite\output\log\test.log > [junit] Running org.jboss.test.cmp2.audit.test.AuditUnitTestCase > [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.765 sec > [junit] Running > org.jboss.test.cmp2.cacheinvalidation.test.CacheInvalidation > UnitTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.828 sec > [junit] Running > org.jboss.test.cmp2.cacheinvalidation.test.JDBC2PmCacheInval > idationUnitTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.703 sec > [junit] Running > org.jboss.test.cmp2.cmr.test.CMRPostCreatesWrittenUnitTestCase > [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.563 sec > [junit] Running org.jboss.test.cmp2.cmrstress.CMRStressTestCase > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.125 sec > [junit] Running > org.jboss.test.cmp2.cmrtransaction.test.CMRTransactionUnitTestCase > [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.437 sec > [junit] Running org.jboss.test.cmp2.cmrtree.test.CascadeDeleteUnitTestCase > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.609 sec > [junit] Running org.jboss.test.cmp2.commerce.CompleteUnitTestCase > [junit] Tests run: 31, Failures: 1, Errors: 0, Time elapsed: 5.281 sec > [junit] Test org.jboss.test.cmp2.commerce.CompleteUnitTestCase FAILED > ... > <testcase classname="org.jboss.test.cmp2.commerce.LazyResultSetLoadingTest" > name="testLazyResultSetLoading" time="0.203"> > <failure message="Expected 3 line items but got 53" > type="net.sourceforge.junitejb.RemoteAssertionFailedError">junit.framework.AssertionFailedError: > Expected 3 line items but got 53 > at > org.jboss.test.cmp2.commerce.LazyResultSetLoadingTest.testLazyResultSetLoading(LazyResultSetLoadingTest.java:95) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:133) > at > net.sourceforge.junitejb.EJBTestRunnerBean.runTestCase(EJBTestRunnerBean.java:102) > at > net.sourceforge.junitejb.EJBTestRunnerBean.run(EJBTestRunnerBean.java:44) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) > at > org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144) > at > org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62) > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) > at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) > at > org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) > at org.jboss.ejb.Container.invoke(Container.java:709) > at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) > at > org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360) > at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) > at java.lang.Thread.run(Thread.java:595) > </failure> > </testcase> -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development