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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.0.0-M2
    • 2.0.0-M2
    • slice
    • 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

        1. OPENJPA-954-trunk.patch
          2 kB
          Donald Woods

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: