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 "Dominique Jäggi (JIRA)" <ji...@apache.org> on 2017/03/28 11:21:42 UTC

[jira] [Closed] (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 ]

Dominique Jäggi closed OAK-5930.
--------------------------------

bulk close 1.0.38

> 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: core, documentmk
>    Affects Versions: 1.6.1
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>             Fix For: 1.4.15, 1.7.0, 1.8, 1.0.38, 1.6.2, 1.2.25
>
>         Attachments: OAK-5930.diff
>
>
> 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)