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

PGP missing keyring file test fails on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: Core Framework
    • Labels:

      Description

      James Wing reported on the mailing list that `TestEncryptContent.testShouldValidatePGPPublicKeyringExists` was failing on a Windows 10 machine but passing on a Linux machine. The cause of this is that the test was inspecting the validation result and expecting a specific message which was provided on Mac OS X and Linux systems but differs on Windows.

      The resolution is to inspect the validation result for the fully-qualified exception class name "java.io.FileNotFoundException" rather than OS-dependent messaging.

        Attachments

        1. NIFI-1385.000.patch
          2 kB
          Tony Kurc

          Activity

            People

            • Assignee:
              alopresto Andy LoPresto
              Reporter:
              alopresto Andy LoPresto
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: