[ 
https://issues.apache.org/jira/browse/OAK-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085291#comment-15085291
 ] 

Marcel Reutegger commented on OAK-3803:
---------------------------------------

The build still fails with DOCUMENT_RDB fixture in the oak-remote module.

{noformat}
testReadLastRevisionTreeStringProperty[DocumentNodeStore[RDB] on 
jdbc:h2:file:./{fname}oaktest](org.apache.jackrabbit.oak.remote.http.handler.RemoteServerIT)
  Time elapsed: 0.001 sec  <<< ERROR!
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: trying to 
create datasource org.apache.tomcat.jdbc.pool.DataSource
{noformat}

I added a test dependency to tomcat-jdbc: http://svn.apache.org/r1723256

> Clean up the fixtures code in core and jcr modules
> --------------------------------------------------
>
>                 Key: OAK-3803
>                 URL: https://issues.apache.org/jira/browse/OAK-3803
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: core, jcr
>            Reporter: Tomek Rękawek
>            Assignee: Michael Dürig
>              Labels: tech-debt
>             Fix For: 1.3.14
>
>         Attachments: OAK-3803.patch
>
>
> oak-core and oak-jcr modules uses the fixture mechanism to provide NodeStore 
> implementations to the unit/integration tests. There is a few problems with 
> the fixture implementation:
> * the {{NodeStoreFixture}} class is duplicated between two modules and 
> supports different set of options (eg. the oak-core version doesn't support 
> the RDB node store at all, while the oak-jcr doesn't support MemoryNodeStore)
> * it isn't possible to set the MongoDB URL manually from the Maven command 
> line (it can be done for the RDB, though), which makes running the tests on a 
> Mongo replica hard,
> * the Mongo fixture doesn't remove the test database after the test is done.
> There should be just one NodeStoreFixture implementation (the oak-jcr can 
> reuse the oak-core version), supporting all values of the {{Fixture}} enum. 
> The Mongo fixture should be more customisable and also should clean-up the 
> database.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to