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

Fix groovy tests in nifi-properties-loader module

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.2
    • 1.10.0
    • Tools and Build

    Description

      The Groovy tests in nifi-properties-loader were not running because there was no src/test/java directory. This is a known issue. The two solutions (in preferred order):

      1. Add a custom plugin configuration to the module's pom.xml to explicitly add the src/test/groovy directory as a resource
      1. Add an empty file in src/test/java/Example.java

      The latter is confusing to developers unfamiliar with this issue and subject to accidental "cleanup" in the future.

      Attachments

        Issue Links

          Activity

            People

              alopresto Andy LoPresto
              alopresto Andy LoPresto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m