[ https://issues.apache.org/jira/browse/JCRVLT-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16494697#comment-16494697 ]
Julian Reschke commented on JCRVLT-293: --------------------------------------- With JDK 1.8, I get: {noformat} ------------------------------------------------------------------------------- Test set: org.apache.jackrabbit.vault.fs.io.DocViewFormatTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.016 s <<< FAILURE! - in org.apache.jackrabbit.vault.fs.io.DocViewFormatTest testFormatting(org.apache.jackrabbit.vault.fs.io.DocViewFormatTest) Time elapsed: 0.016 s <<< FAILURE! java.lang.AssertionError at org.apache.jackrabbit.vault.fs.io.DocViewFormatTest.setup(DocViewFormatTest.java:48) testFormatting(org.apache.jackrabbit.vault.fs.io.DocViewFormatTest) Time elapsed: 0.016 s <<< ERROR! java.lang.NullPointerException at org.apache.jackrabbit.vault.fs.io.DocViewFormatTest.tearDown(DocViewFormatTest.java:62) {noformat} > Failing tests when building vault-core with -Doak=true > ------------------------------------------------------ > > Key: JCRVLT-293 > URL: https://issues.apache.org/jira/browse/JCRVLT-293 > Project: Jackrabbit FileVault > Issue Type: Bug > Components: Misc > Reporter: angela > Priority: Major > > [~tripod], while investing JCRVLT-292 i noticed that _vault-core_ is by > default built against jackrabbit 2.x and spotted the _-Doak=true_ option. > when build agains Oak, i get the following tests failing: > {code} > [ERROR] Failures: > [ERROR] > RCPTest.testMissingMixinWithNewer:212->IntegrationTestBase.assertPropertyMissing:462 > /testroot/dst/a/jcr:mixinTypes should not exist > [ERROR] > RCPTest.testRemoveMixin:124->IntegrationTestBase.assertPropertyMissing:462 > /testroot/dst/a/jcr:mixinTypes should not exist > [ERROR] Errors: > [ERROR] AdminPermissionCheckerTest.after:55 » InvalidItemState > OakState0001: Unresolve... > {code} > The following test fails in both cases... > {code} > [ERROR] TestPackageInstall.testPackageInstallWith0MtimeZipEntry:736 » > NoSuchField xdos... > {code} > is this expected or am i missing something? -- This message was sent by Atlassian JIRA (v7.6.3#76005)