To make use of FileDataStore you would need to configure a
SegmentNodeStore as MemoryNodeStore does not allow plugging in custom
BlobStore

Have a look at snippet [1] for a possible approach

Chetan Mehrotra
[1] https://gist.github.com/chetanmeh/6242d0a7fe421955d456


On Wed, Jan 27, 2016 at 6:42 AM, Tobias Bocanegra <[email protected]> wrote:
> Hi,
>
> I have some tests in filevault that I want to run with the
> FileDataStore, but I couldn't figure out how to setup the repository
> correctly here [0]. I also looked at the tests in oak, but I couldn't
> find a valid reference.
>
> The reason for this is to test the binary references, which afaik only
> work with the FileDataStore.
> at least my test [1] works with jackrabbit, but not for oak.
>
> thanks.
> regards, toby
>
> [0] 
> https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/IntegrationTestBase.java#L118-L120
> [1] 
> https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/TestBinarylessExport.java

Reply via email to