Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-686

maven reported "BUILD FAILURE" even if all tests passed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.7.1
    • None
    • None
    • None
    • windows 2003 zh_CN
      jdk 1.5.0_07
      maven 2.2.1, 3.0.1, 3.0.2




    Description

      I tried to build a project with maven, the project contains junit test.
      maven reported "BUILD FAILURE" even if all tests passed.

      maven output:
      =============================
      Results :

      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] There are test failures.
      =============================

      one of the tests is using jacob 1.14.3 to instance a COM, and after deleting the test, maven build successfully.

      more detail output are attached

      Attachments

        1. build-output.txt
          5 kB
          pxb1988
        2. build-output-2.7.2.txt
          4 kB
          pxb1988

        Activity

          People

            krosenvold Kristian Rosenvold
            pxb1988 pxb1988
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: