jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-3389) oak-run check for dropped tables broken
Date Thu, 10 Sep 2015 12:52:46 GMT
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)

Mime
View raw message