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 2017/03/15 14:42:41 UTC
[jira] [Issue Comment Deleted] (OAK-5930) incorrect test assumption
in CacheConsistencyTestBase wrt batching
[ https://issues.apache.org/jira/browse/OAK-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-5930:
--------------------------------
Comment: was deleted
(was: Proposed patch - [~mreutegg], please review.)
> incorrect test assumption in CacheConsistencyTestBase wrt batching
> ------------------------------------------------------------------
>
> Key: OAK-5930
> URL: https://issues.apache.org/jira/browse/OAK-5930
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: documentmk
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Fix For: 1.8
>
>
> When testing
> {noformat}
> ds.createOrUpdate(Collection.NODES, Lists.newArrayList(up1, up2, up3));
> {noformat}
> the test case assumes that all three IDs ought to be updated. However, this is not true if the DocumentStore doesn't support batching here (RDB in OAK <= 1.2), or if batching is disabled ({{org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.BATCHUPDATES}} system property).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)