Julian Reschke created OAK-3389:
-----------------------------------

             Summary: oak-run check for dropped tables broken
                 Key: OAK-3389
                 URL: https://issues.apache.org/jira/browse/OAK-3389
             Project: Jackrabbit Oak
          Issue Type: Technical task
          Components: rdbmk, run
    Affects Versions: 1.3.5
            Reporter: Julian Reschke


            @Override
            public void tearDownCluster() {
                String dropped = "";
                for (DocumentMK kernel : kernels) {
                    kernel.dispose();
                    if (kernel.getDocumentStore() instanceof RDBDocumentStore) {
                        dropped += 
((RDBDocumentStore)kernel.getDocumentStore()).getDroppedTables();
                    }
                }
                if (dropDBAfterTest) {
                    if(blobStoreFixture != null){
                        blobStoreFixture.tearDown();
                    }

                    if (dropped.isEmpty()) {
                        throw new RuntimeException("dropdb was set, but tables 
have not been dropped");
                    }
                }
            }

has been broken because the DS is now wrapped by 
LeaseCheckDocumentStoreWrapper. Figure out a different way to obtain the 
information.



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

Reply via email to