Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30355

Skip unit tests on encrypted file if FileNotFoundException occurs

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: HOTFIX_10.10
    • Component/s: Tests

      Description

      Some systems with extra security level do not allow to read encrypted files and an error "Operation not permitted" is thrown

      $ cat /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons/nuxeo-platform-pdf-utils/src/test/resources/files/document-encrypted.pdf
      cat: /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons/nuxeo-platform-pdf-utils/src/test/resources/files/document-encrypted.pdf: Operation not permitted
      

      This request is to skip a unit test if a FileNotFoundException occurs whose cause is "Operation not permitted"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.