On Thu, 2015-08-06 at 20:03 +0530, Vikas Saurabh wrote:
> > - the @Before instantiates a DocumentNodeStore backed by my
> > implementation of the MultiplexingDocumentStore
> And it's working with say MemoryDocumentStore? IIRC, the decision to
> split is done on the basis of NodeDocument.getMemory() (and I think
> certain other parameters too). BTW, I might be wrong here.
> 
> So, this not working with your MultiplexingDS could either be due 
> some
> issue in test case <-> DocumentNodeStore interaction OR that
> DocumentNodeStore is deciding not to split based on the info it gets
> from MultiplexingDS.
> 
> > - the validation is simply running the background operations
> Well, the documents should get split after this under the premise 
> that
> DocumentNodeStore decides to do so.

In the end, the simplest way to achieve this was to delegate to the
DocumentSplitTest

    @Test
    public void splitRevisions() throws Exception {

        MultiplexingBasedDocumentSplitTest delegate = new
MultiplexingBasedDocumentSplitTest();
        delegate.initDocumentMK(); // not managed by JUnit so call the
@Before manually
        delegate.splitRevisions();
    }

where MultiplexingBasedDocumentSplitTest extends the DocumentSplitTest
and creates the DocumentMK based on my DocumentStore implementation.

Thanks,

Robert

Reply via email to