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

Fix scanimporter TestImport on MySQL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: Scan importer, Tests

      Description

      On MySQL four TestImport tests fail:

      • shouldCreateContainerOnceAfterTwoImportationsAsUpdateEnabled
      • shouldSkipInitialContainerCreationSkipped
      • testDocTypeMappingInImport
      • shouldImportWithNoBlobMapping

      This is followup work similar to NXP-17333.

      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.nuxeo.platform.scanimporter.tests.TestImport.shouldCreateContainerOnceAfterTwoImportationsAsUpdateEnabled(TestImport.java:147)
      
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.get(ArrayList.java:429)
      	at org.nuxeo.platform.scanimporter.tests.TestImport.shouldSkipInitialContainerCreationSkipped(TestImport.java:176)
      
      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.nuxeo.platform.scanimporter.tests.TestImport.testDocTypeMappingInImport(TestImport.java:206)
      
      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.nuxeo.platform.scanimporter.tests.TestImport.shouldImportWithNoBlobMapping(TestImport.java:238)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.