Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5930

incorrect test assumption in CacheConsistencyTestBase wrt batching

    XMLWordPrintableJSON

    Details

      Description

      When testing

      ds.createOrUpdate(Collection.NODES, Lists.newArrayList(up1, up2, up3));
      

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

        Attachments

        1. OAK-5930.diff
          3 kB
          Julian Reschke

          Issue Links

            Activity

              People

              • Assignee:
                reschke Julian Reschke
                Reporter:
                reschke Julian Reschke
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: