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 Bug
    • Status: Closed
    • Priority: Blocker 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)

        Issue Links

          Activity

          Donald Woods created issue -
          Hide
          Donald Woods added a comment -

          Patch that resolves the build failure by duplicating the AllowFailure.java into the openjpa-slice/src/test directory.

          Show
          Donald Woods added a comment - Patch that resolves the build failure by duplicating the AllowFailure.java into the openjpa-slice/src/test directory.
          Donald Woods made changes -
          Field Original Value New Value
          Attachment OPENJPA-954-trunk.patch [ 12401455 ]
          Hide
          Pinaki Poddar added a comment -
          Show
          Pinaki Poddar added a comment - See OPENJPA-937
          Pinaki Poddar made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Hide
          Donald Woods added a comment -

          reopening to close as duplicate

          Show
          Donald Woods added a comment - reopening to close as duplicate
          Donald Woods made changes -
          Status Resolved [ 5 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Hide
          Donald Woods added a comment -

          fixed by OPENJPA-937

          Show
          Donald Woods added a comment - fixed by OPENJPA-937
          Donald Woods made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          Donald Woods made changes -
          Link This issue duplicates OPENJPA-937 [ OPENJPA-937 ]

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Donald Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development