Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1680

ApplicationArchiveTest unit test failure on Windows: cannot purge temporary files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
    • Environment:

      Windows

      Description

      ApplicationArchiveTest fails on Windows. Log of the test is attached.

      The error message in Japanese after "java.nio.file.FileSystemException: " means "The process cannot access the file because it is being used by another process".
      I suppose that the failure is caused by deleting temporary file in teadown() before closing the InputStream of the file which is opened in test functions. The InputStream should be closed explicitly in the test functions.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kenji Kenji Hikichi
            Reporter:
            kenji Kenji Hikichi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: