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

Random test failure in TestFileManagerVersioning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.7-SNAPSHOT
    • Fix Version/s: 5.6.0-HF43, 5.7.1
    • Component/s: Core

      Description

      TestFileManagerVersioning usually passes but sometimes fails, for instance with:

      testDefaultVersioningOption(org.nuxeo.ecm.platform.filemanager.TestFileManagerVersioning)  Time elapsed: 0.01 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<MINOR> but was:<MAJOR>
              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.filemanager.TestFileManagerVersioning.testDefaultVersioningOption(TestFileManagerVersioning.java:83)
      
      testIncorrectVersioningOption(org.nuxeo.ecm.platform.filemanager.TestFileManagerVersioning)  Time elapsed: 0.038 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<MINOR> but was:<MAJOR>
              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.filemanager.TestFileManagerVersioning.testIncorrectVersioningOption(TestFileManagerVersioning.java:91)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: