jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-5930) incorrect test assumption in CacheConsistencyTestBase wrt batching
Date Wed, 15 Mar 2017 15:01:41 GMT

     [ https://issues.apache.org/jira/browse/OAK-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger updated OAK-5930:
----------------------------------
    Component/s: core

> 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
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>              Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4, candidate_oak_1_6
>             Fix For: 1.8
>
>         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)

Mime
View raw message