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

Add unit tests framework (Mockito)

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

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Most HDFS tests are functional tests that test a feature end to end by running a mini cluster. We should add more tests like TestReplication that attempt to stress individual classes in isolation, ie by stubbing out dependencies without running a mini cluster. This allows for more fine-grain testing and making tests run much more quickly because they avoid the cost of cluster setup and teardown. If it makes sense to use another framework besides junit we should standardize with MAPREDUCE-1050.

        Attachments

        1. HDFS669.patch
          5 kB
          Eli Collins
        2. HDFS-669.patch
          4 kB
          Konstantin I Boudnik
        3. HDFS-669.patch
          8 kB
          Konstantin I Boudnik
        4. HDFS-669.patch
          9 kB
          Konstantin I Boudnik
        5. HDFS-669.patch
          8 kB
          Konstantin I Boudnik
        6. HDFS-669.patch
          8 kB
          Konstantin I Boudnik
        7. HDFS-669.patch
          8 kB
          Konstantin I Boudnik
        8. HDFS-669.patch
          8 kB
          Konstantin I Boudnik
        9. HDFS-669.sh
          0.1 kB
          Konstantin I Boudnik

        Issue Links

          Activity

            People

            • Assignee:
              cos Konstantin I Boudnik
              Reporter:
              eli Eli Collins

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment