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

Refactor TestDFSStripedOutputStreamWithFailure test classes

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.1.0, 3.0.3
    • erasure-coding, test
    • None

    Description

      TestDFSStripedOutputStreamWithFailure has a great number of subclasses. The tests are parameterized based on the name of these subclasses.

      Seems like we could parameterize these tests with JUnit and then not need all these separate test classes.

      Another note, the tests will randomly return instead of running the test. Using Assume instead would make it more clear in the test output that these tests were skipped.

      Attachments

        1. HDFS-11600.002.patch
          35 kB
          Christopher Douglas
        2. HDFS-11600.003.patch
          72 kB
          Sammi Chen
        3. HDFS-11600.004.patch
          73 kB
          Sammi Chen
        4. HDFS-11600.005.patch
          73 kB
          Sammi Chen
        5. HDFS-11600.006.patch
          72 kB
          Sammi Chen
        6. HDFS-11600.007.patch
          72 kB
          Sammi Chen
        7. HDFS-11600-1.patch
          36 kB
          Marton Elek

        Issue Links

        Activity

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

          People

            Sammi Sammi Chen Assign to me
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment