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/14 16:19:41 UTC

[jira] [Updated] (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:
--------------------------------
    Description: 
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).

  was:
When testig

{{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).


> 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
>
> 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)