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

Fix drive versioning api tests on Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 8.4-SNAPSHOT
    • Fix Version/s: 9.1
    • Component/s: Core, Nuxeo Drive

      Description

      See failures at https://qa.nuxeo.org/jenkins/view/reports/job/master/job/nuxeo-master-fullbuild-part1-multidb-linux/99/Slave=MULTIDB_LINUX,dbprofile=oracle12c,jdk=java-8-oracle/testReport/org.nuxeo.drive.service.adapter/TestVersioningFileSystemItemFactory/testAutomaticVersioning/

      org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioning

      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.junit.Assert.assertFalse(Assert.java:74)
      	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioning(TestVersioningFileSystemItemFactory.java:556)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioningAndDriveForceVersionDisabled

      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.junit.Assert.assertFalse(Assert.java:74)
      	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioningAndDriveForceVersionDisabled(TestVersioningFileSystemItemFactory.java:735)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
      

      org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testDriveForceVersionDisabled

      org.junit.ComparisonFailure: expected:<[0.0]> but was:<[1.0+]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testDriveForceVersionDisabled(TestVersioningFileSystemItemFactory.java:427)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: