[
https://issues.apache.org/jira/browse/JCR-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14655110#comment-14655110
]
Bart van der Schans commented on JCR-3632:
------------------------------------------
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:
{code}
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>
{code}
> Test failed under Java 8
> ------------------------
>
> Key: JCR-3632
> URL: https://issues.apache.org/jira/browse/JCR-3632
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Environment: Ubuntu 13.04, version: "3.8.0-26-generic", arch: "i386"
> OpenJDK 8b99
> Maven 3.1.0
> Reporter: Greg Bakos
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)