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

Unit tests should be able to determine if item validator was called

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0, 1.11.3
    • None
    • None

    Description

      In cases where there is a 'per item' validator provided for a list type validator, we cannot tell if an item is invalid because it failed the outer validator or the passed validator.

      We should be able to do this, with a mock, delighting validator that counts the calls.

      Attachments

        Issue Links

          Activity

            People

              otto Otto Fowler
              otto Otto Fowler
              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 - 2.5h
                  2.5h