Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1316

LazyResultSetLoadingTest testLazyResultSetLoading failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • JBossAS-3.2.7 Final
    • JBossAS-3.2.7 Final
    • CMP service
    • None

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

              olubyans@redhat.com Alexey Loubyansky
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: