Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2092

TestProcessorLifecyle fails on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0, 0.7.0, 1.0.0-Beta
    • None
    • None

    Description

      Currently, the "after" method tries to delete the content-repo and test-repo before shutting down the flowcontroller[1] (causing failures due to files being locked).

      `fc.shutdown(true)` should be moved before the deleteDirectory() calls.

      [1] https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/scheduling/TestProcessorLifecycle.java#L93-L93

      Attachments

        Issue Links

          Activity

            People

              jpercivall Joe Percivall
              jpercivall Joe Percivall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: