Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-954

openjpa-slice build fails due to tests relying on openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/AllowFailure.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M2
    • Component/s: slice
    • Labels:
      None

      Description

      Starting with a clean checkout of trunk, openjpa-slice fails to build due to openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/AllowFailure.java is not available to the openjpa-slice tests to use and needs to be duplicated into its src/test directory or moved to some common test support jar.

      [INFO] Compiling 14 source files to /Users/drwoods/openjpa/trunk/openjpa-slice/target/test-classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      /Users/drwoods/openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java:[38,43] package org.apache.openjpa.persistence.test does not exist

      /Users/drwoods/openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java:[47,1] cannot find symbol
      symbol: class AllowFailure
      @AllowFailure(true)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppoddar@apache.org Pinaki Poddar
                Reporter:
                drwoods Donald Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: