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

TestPutHDFS testPutFileWithException assumes permission changes will matter

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Extensions
    • None

    Description

      -------------------------------------------------------------------------------
      Test set: org.apache.nifi.processors.hadoop.PutHDFSTest
      -------------------------------------------------------------------------------
      Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.949 sec <<< FAILURE! - in org.apache.nifi.processors.hadoop.PutHDFSTest
      testPutFileWithException(org.apache.nifi.processors.hadoop.PutHDFSTest) Time elapsed: 0.532 sec <<< FAILURE!
      java.lang.AssertionError: null
      at org.junit.Assert.fail(Assert.java:86)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.junit.Assert.assertFalse(Assert.java:64)
      at org.junit.Assert.assertFalse(Assert.java:74)
      at org.apache.nifi.processors.hadoop.PutHDFSTest.testPutFileWithException(PutHDFSTest.java:230)

      This test fails because it assume permissions changes will matter which would not be true when one is building as root for example.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            markap14 Mark Payne
            joewitt Joe Witt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment