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

TestProcessorLifecyle fails on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0, 0.7.0, 1.0.0-Beta
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: