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

Mock Framework needs to allow TestRunner.run indicate whether or not to call @OnScheduled methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.0.1
    • 0.0.1
    • Tools and Build
    • None

    Description

      Currently, each time TestRunner#run is called, all methods in the Processor with an @OnScheduled annotation get called. This cannot be avoided. This can cause a lot of problems in some cases, though. Need to be able call TestRunner#run without it invoking @OnScheduled methods.

      Attachments

        1. NIFI-227.patch.txt
          4 kB
          Mark Payne

        Activity

          People

            Unassigned Unassigned
            markap14 Mark Payne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: