Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2066 DocumentStore API: batch create, but no batch update
  3. OAK-3938

Occasional failure in MultiDocumentStoreTest.batchUpdateCachedDocument()

    XMLWordPrintableJSON

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.15, 1.4
    • Component/s: core, rdbmk
    • Labels:
      None

      Description

      Happens with RDBMK only.

      batchUpdateCachedDocument[RDBFixture: RDB-H2(file)](org.apache.jackrabbit.oak.plugins.document.MultiDocumentStoreTest)  Time elapsed: 0.01 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<2> but was:<1>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:834)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.jackrabbit.oak.plugins.document.MultiDocumentStoreTest.batchUpdateCachedDocument(MultiDocumentStoreTest.java:333)
      

        Attachments

        1. OAK-3938.patch
          2 kB
          Tomek Rękawek
        2. rdb-oddity.patch
          7 kB
          Tomek Rękawek

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: