Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2067

KnownIssuesXMLJUnitResultFormatter counts tests double if there is an error post-tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • testsuite
    • None

    Description

      [junit] Running org.jboss.ejb3.test.interceptors2.unit.InterceptorsTestCase
      [junit] junit.framework.TestListener: tests to run: 13
      [junit] junit.framework.TestListener: startTest(testAnnotatedOnlySLSB)
      [junit] junit.framework.TestListener: endTest(testAnnotatedOnlySLSB)
      [junit] junit.framework.TestListener: startTest(testXmlOnlySLSB)
      [junit] junit.framework.TestListener: endTest(testXmlOnlySLSB)
      [junit] junit.framework.TestListener: startTest(testDefaultOnlySLSB)
      [junit] junit.framework.TestListener: endTest(testDefaultOnlySLSB)
      [junit] junit.framework.TestListener: startTest(testNoInterceptorsSLSB)
      [junit] junit.framework.TestListener: endTest(testNoInterceptorsSLSB)
      [junit] junit.framework.TestListener: startTest(testMixedConfigSFSB)
      [junit] junit.framework.TestListener: endTest(testMixedConfigSFSB)
      [junit] junit.framework.TestListener: startTest(testBeanHierarchy)
      [junit] junit.framework.TestListener: endTest(testBeanHierarchy)
      [junit] junit.framework.TestListener: startTest(testOverrideOrdering)
      [junit] junit.framework.TestListener: endTest(testOverrideOrdering)
      [junit] junit.framework.TestListener: startTest(testService)
      [junit] junit.framework.TestListener: endTest(testService)
      [junit] junit.framework.TestListener: startTest(testDefaultOnlyService)
      [junit] junit.framework.TestListener: endTest(testDefaultOnlyService)
      [junit] junit.framework.TestListener: startTest(testMixedConsumer)
      [junit] junit.framework.TestListener: endTest(testMixedConsumer)
      [junit] junit.framework.TestListener: startTest(testDefaultOnlyConsumer)
      [junit] junit.framework.TestListener: endTest(testDefaultOnlyConsumer)
      [junit] junit.framework.TestListener: startTest(testMethodOnlySLSB)
      [junit] junit.framework.TestListener: endTest(testMethodOnlySLSB)
      [junit] junit.framework.TestListener: startTest(testServerFound)
      [junit] junit.framework.TestListener: endTest(testServerFound)
      [junit] junit.framework.TestListener: addError(unknown, HornetQException[errorCode=104 message=Cannot delete queue jms.queue.defaultonlyqueue on binding jms.queue.defaultonlyqueue - it has consumers = org.hornetq.core.postoffice.impl.LocalQueueBinding])
      [junit] Tests run: 13, Failures: 0, Errors: 1, Time elapsed: 14.14 sec
      [junit] Exception in thread "main" java.lang.AssertionError: runCount (26) != oldRunCount (13)
      [junit] at org.jboss.ejb3.testsuite.ant.taskdefs.optional.junit.KnownIssuesXMLJUnitResultFormatter.endTestSuite(KnownIssuesXMLJUnitResultFormatter.java:100)
      [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:619)
      [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:452)
      [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
      [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
      [junit] Using System properties

      {java.runtime.name=Java(TM) SE Runtime Environment, sun.boot.library.path=/usr/java/jdk1.6.0_11/jre/lib/amd64, java.vm.version=11.0-b16, ant.library.dir=/opt/apache/ant/apache-ant-1.7.1/lib, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=:, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, file.encoding.pkg=sun.io, sun.java.launcher=SUN_STANDARD, user.country=US, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/home/hudson/workspace/JBoss-AS-6.x-tests-ejb3/ejb3home/testsuite, java.runtime.version=1.6.0_11-b03, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.endorsed.dirs=/usr/java/jdk1.6.0_11/jre/lib/endorsed, os.arch=amd64, java.io.tmpdir=/tmp, line.separator= [junit] , java.vm.specification.vendor=Sun Microsystems Inc., os.name=Linux, ant.home=/opt/apache/ant/apache-ant-1.7.1, sun.jnu.encoding=UTF-8, java.library.path=/usr/java/jdk1.6.0_11/jre/lib/amd64/server:/usr/java/jdk1.6.0_11/jre/lib/amd64:/usr/java/jdk1.6.0_11/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib, java.specification.name=Java Platform API Specification, java.class.version=50.0, sun.management.compiler=HotSpot 64-Bit Server Compiler, os.version=2.6.18-128.el5xen, user.home=/home/hudson, user.timezone=America/New_York, java.awt.printerjob=sun.print.PSPrinterJob, file.encoding=UTF-8, java.specification.version=1.6, java.class.path=/opt/apache/ant/apache-ant-1.7.1/lib/ant-launcher.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-regexp.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jsch.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-netrexx.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-trax.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-resolver.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-swing.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-antlr.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-nodeps.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-oro.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-launcher.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-commons-logging.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-log4j.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ivy.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-starteam.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-junit.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-commons-net.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-bcel.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jmf.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jai.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-stylebook.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-testutil.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-weblogic.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jdepend.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-javamail.jar:/opt/apache/ant/apache-ant-1.7.1/lib/xercesImpl.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-bsf.jar:/opt/apache/ant/apache-ant-1.7.1/lib/xml-apis.jar:/usr/java/jdk1.6.0_11/lib/tools.jar, user.name=hudson, java.vm.specification.version=1.0, java.home=/usr/java/jdk1.6.0_11/jre, sun.arch.data.model=64, user.language=en, java.specification.vendor=Sun Microsystems Inc., java.vm.info=mixed mode, java.version=1.6.0_11, java.ext.dirs=/usr/java/jdk1.6.0_11/jre/lib/ext:/usr/java/packages/lib/ext, sun.boot.class.path=/usr/java/jdk1.6.0_11/jre/lib/resources.jar:/usr/java/jdk1.6.0_11/jre/lib/rt.jar:/usr/java/jdk1.6.0_11/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_11/jre/lib/jsse.jar:/usr/java/jdk1.6.0_11/jre/lib/jce.jar:/usr/java/jdk1.6.0_11/jre/lib/charsets.jar:/usr/java/jdk1.6.0_11/jre/classes, java.vendor=Sun Microsystems Inc., file.separator=/, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.cpu.isalist=}

      [junit] Running org.jboss.ejb3.test.interceptors2.unit.InterceptorsTestCase
      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
      [junit] Test org.jboss.ejb3.test.interceptors2.unit.InterceptorsTestCase FAILED (crashed)

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: