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

Inconsistent bootstrapping of nifi.properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • Core Framework
    • None

    Description

      NiFiProperties caches the 'instance' of properties in a typical Singleton fashion.
      This creates issues with tests that provide location of nifi.properties for its run when running the entire suite. Fir example when running TestStandardProcessScheduler, the first line in setup method:

      System.setProperty("nifi.properties.file.path", "src/test/resources/nifi.properties");
      

      It is absolutely meaningless when such test is ran as part of the suite

      Attachments

        Activity

          People

            ozhurakousky Oleg Zhurakousky
            ozhurakousky Oleg Zhurakousky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: