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

Fix MySQL tests with versions created too fast

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6-RC1
    • Fix Version/s: 5.6-RC2, 5.6
    • Component/s: None
    • Environment:
      MySQL

      Description

      Rendition test code creates two versions, and if this happens too fast under MySQL there could be problems with mixed up version order.

      java.lang.AssertionError: expected:<d17c33c0-a029-4d07-b4f9-e1ab108addb0> but was:<bf3d5c80-1ba4-467c-8d31-f4294d61490a>
      	at org.junit.Assert.fail(Assert.java:91)
      	at org.junit.Assert.failNotEquals(Assert.java:645)
      	at org.junit.Assert.assertEquals(Assert.java:126)
      	at org.junit.Assert.assertEquals(Assert.java:145)
      	at org.nuxeo.ecm.platform.rendition.service.TestRenditionService.doRenditionVersioning(TestRenditionService.java:249)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: