You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2015/09/10 14:52:46 UTC

[jira] [Created] (OAK-3389) oak-run check for dropped tables broken

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)