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/12/10 16:54:11 UTC

[jira] [Created] (OAK-3764) RDB/NodeStoreFixture fails to track DataSource instances

Julian Reschke created OAK-3764:
-----------------------------------

             Summary: RDB/NodeStoreFixture fails to track DataSource instances
                 Key: OAK-3764
                 URL: https://issues.apache.org/jira/browse/OAK-3764
             Project: Jackrabbit Oak
          Issue Type: Technical task
          Components: rdbmk
    Affects Versions: 1.3.12, 1.0.25, 1.2.9
            Reporter: Julian Reschke
            Assignee: Julian Reschke
            Priority: Minor


The RDB-specific JCR nodestore fixture creates a new datasource per invocation. The code that disposes NodeStore instances though closes the last allocated Datasource, not the one associated with the NodeStore instance.

When tests run in parallel, this can cause (a) DataSources not to be closed at all and (b) DataSources to be closed too early.

OAK-3722 may have made this visible, as previously the DataSource was never closed (lacking the Closeable interface).



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