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

Fix randomly-failing image tests

    XMLWordPrintable

    Details

      Description

      These tests fail randomly:

      • org.nuxeo.ecm.platform.picture.convert.test.TestImagingConvertPlugin.testRotate
      • org.nuxeo.ecm.platform.picture.convert.test.TestImagingConvertPlugin.testResizeConverter
      • org.nuxeo.ecm.automation.core.test.PictureCreatorTest.testCreate

      This is due to the converter cache using the blob.hashCode() as a cache file key, but this hashCode can be reused and then the cache holds invalid data.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: