Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-921

Convert TestDFSClientRetries::testNotYetReplicatedErrors to Mockito

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • test
    • None
    • Reviewed

    Description

      When TestDFSClientRetries::testNotYetReplicatedErrors was written, Mockito was not available and the NameNode was mocked by manually extending ClientProtocol and implementing all the methods, most with empty bodies. Now that we have Mockito, this code can be removed and replaced with an actual mock.

      Attachments

        1. HDFS-921.patch
          9 kB
          Jakob Homan
        2. HDFS-921-2.patch
          12 kB
          Jakob Homan

        Activity

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

          People

            jghoman Jakob Homan
            jghoman Jakob Homan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment