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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/01/07 15:15:42 UTC
[jira] [Closed] (OAK-3764) RDB/NodeStoreFixture fails to track
DataSource instances
[ https://issues.apache.org/jira/browse/OAK-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-3764.
---------------------------------
Bulk close for 1.3.13
> 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.2.9, 1.3.12
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Fix For: 1.3.13, 1.2.10
>
>
> 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)