Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21299

Fix randomly-failing CMIS test testSetContentStreamWithDigestHeader

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: CMIS, Tests

      Description

      Test CmisSuiteSession2.testSetContentStreamWithDigestHeader sometimes fails on MySQL and SQL Server with:

      java.lang.AssertionError: expected:<400> but was:<409>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.nuxeo.ecm.core.opencmis.impl.CmisSuiteSession2.checkBadContentStreamResponse(CmisSuiteSession2.java:385)
      	at org.nuxeo.ecm.core.opencmis.impl.CmisSuiteSession2.testSetContentStreamWithDigestHeader(CmisSuiteSession2.java:355)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: