Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-765

TCK should fail if tests fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • JDO 3.1
    • JDO 3.2
    • tck
    • None

    Description

      Currently, TCK test failures are reported to the console and in the logs, but the Maven build still succeeds.

      The proposal is to make the behavior configurable, the default being that the Maven build fails if any TCK tests fail.

      The new configuration option would be called "-Djdo.tck.onFailure" and have the following options:

      • "failFast" will immediately abort the test run.
      • "failEventually" (default) will execute the whole TCK before failing.
      • "logOnly" will report failures to console and logs only but return 'SUCCESS' to the Maven execution environment.

      Attached is a patch with an implementation of the proposed changes.

      Attachments

        1. JDO-765-patch-v4.txt
          5 kB
          Tilmann Zäschke

        Activity

          People

            tilmann Tilmann Zäschke
            tilmann Tilmann Zäschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: