Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.12.0
    • Fix Version/s: 2.13.0
    • Component/s: jackrabbit-jca
    • Labels:
    • Environment:
      Ubuntu 13.04, version: "3.8.0-26-generic", arch: "i386"
      OpenJDK 8b99
      Maven 3.1.0

      Description

      I've tried to make a build under OpenJDK 8b99 and I've got these testing errors:

      Running org.apache.jackrabbit.jca.test.ConnectionRequestInfoTest
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
      Running org.apache.jackrabbit.jca.test.ConnectionFactoryTest
      Tests run: 5, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 5.997 sec <<< FAILURE!

      Results :

      Failed tests:
      testExceptionHandling(org.apache.jackrabbit.jca.test.ConnectionFactoryTest)

      Tests in error:
      testMatching(org.apache.jackrabbit.jca.test.ConnectionFactoryTest)
      testTransactionSupport(org.apache.jackrabbit.jca.test.ConnectionFactoryTest)

      Tests run: 8, Failures: 1, Errors: 2, Skipped: 0

        Activity

        Hide
        Bart van der Schans added a comment -

        It's unclear to me why this is failing, but it fails consistently for me also with Java 7. For the time being we could apply the following patch to exclude the tests:

        Index: jackrabbit-jca/pom.xml
        ===================================================================
        --- jackrabbit-jca/pom.xml	(revision 1694162)
        +++ jackrabbit-jca/pom.xml	(working copy)
        @@ -80,6 +80,10 @@
               <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
        +          <excludes>
        +            <!-- JCR-3632: Test is known to fail -->
        +            <exclude>**/ConnectionFactoryTest.java</exclude>
        +          </excludes>
                   <systemProperties>
                     <property>
                       <name>derby.system.durability</name>
        
        Show
        Bart van der Schans added a comment - It's unclear to me why this is failing, but it fails consistently for me also with Java 7. For the time being we could apply the following patch to exclude the tests: Index: jackrabbit-jca/pom.xml =================================================================== --- jackrabbit-jca/pom.xml (revision 1694162) +++ jackrabbit-jca/pom.xml (working copy) @@ -80,6 +80,10 @@ <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> + <excludes> + <!-- JCR-3632: Test is known to fail --> + <exclude>**/ConnectionFactoryTest.java</exclude> + </excludes> <systemProperties> <property> <name>derby.system.durability</name>
        Hide
        Marcel Reutegger added a comment -

        Using the plain TestCase base class for ConnectionRequestInfoTest solves the issue for me.

        Done in trunk: http://svn.apache.org/r1730696

        Show
        Marcel Reutegger added a comment - Using the plain TestCase base class for ConnectionRequestInfoTest solves the issue for me. Done in trunk: http://svn.apache.org/r1730696

          People

          • Assignee:
            Marcel Reutegger
            Reporter:
            Greg Bakos
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development