Hi Robert, On Wed, Jul 8, 2015 at 3:27 PM, Robert Munteanu <[email protected]> wrote: > ...I am working on a prototype to multiplex multiple DocumentStore > instances behind a single DocumentStore...
I played with this stuff and added a fixture to run the standard oak-core tests on a MultiplexingDocumentStore. My latest finding is that NodeStoreTests fails in that case, even if the MultiplexingDocumentStore has no mounts, just a root store, which is surprising. I'll investigate more, but maybe that's useful info for you. Here's what I get at my commit https://github.com/bdelacretaz/jackrabbit-oak/commit/66f8de76ece6f32b0151deaca47d63821f9908bc $ mvn clean test -Dnsfixtures=MEMORY_MULTI_NS -Dtest=NodeStoreTest ... Failed tests: beforeCommitHook[0](org.apache.jackrabbit.oak.spi.state.NodeStoreTest) compareAgainstBaseState20[0](org.apache.jackrabbit.oak.spi.state.NodeStoreTest): expected:<21> but was:<20> compareAgainstBaseState100[0](org.apache.jackrabbit.oak.spi.state.NodeStoreTest): expected:<101> but was:<80> rebaseWithFailedMerge[0](org.apache.jackrabbit.oak.spi.state.NodeStoreTest): must throw CommitFailedException Feel free to merge the MEMORY_MULTI_NS fixture stuff if that's useful to you, of course. -Bertrand
