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

PGP missing keyring file test fails on Windows

    XMLWordPrintableJSON

Details

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

    Description

      jameswing 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

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

            Dates

              Created:
              Updated:
              Resolved: