Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1806

Filelock unit test issue on windows file system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • 3.0.0
    • None
    • None
    • windows 8.1

    Description

      DefaultFileLockManagerTimeoutTest testTimeout is failing on line 78
      because of an execption raised in FileUtils.copyFile

      java.io.IOException: The process cannot access the file because another process has locked a portion of the file
      FileUtils.copyFile( largeJar, lock.getFile() );

      It's disrupting behaviour of plugin on windows 8.1.

      https://issues.apache.org/jira/browse/IO-376 is showing similar symptom.

      Attachments

        Activity

          People

            martin_s Martin Schreier
            skygolanur Eric Barboni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: