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

incorrect test assumption in CacheConsistencyTestBase wrt batching

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment