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

Fix CMIS tests failing for fileLock on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4-SNAPSHOT
    • Fix Version/s: 8.10
    • Component/s: Infrastructure, Tests

      Description

      The tests fails because of a move operation attempted on a locked file in

      org.nuxeo.ecm.core.api.impl.blob.FileBlob.moveFile

      It come from difference in system file locking on windows and linux. The file is locked by the jvm itself.
      The culprit is a stream used as a direct function argument and not closed in

      org.nuxeo.ecm.core.opencmis.tests.Helper.makeNuxeoRepository

      line 141.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: