Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6642

Move the constructor to a method in HadoopTestCase

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

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • test
    • None

    Description

      After migrating to JUnit4,

      HadoopTestCase.java
        public HadoopTestCase(int mrMode, int fsMode, int taskTrackers, int dataNodes)
      

      the above constructor can be changed to a configure method and call it from @BeforeClass method of the subclasses. That way we can make the test more simple.

      Attachments

        Issue Links

        Activity

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

          People

            cotedm Dustin Cote
            aajisaka Akira Ajisaka

            Dates

              Created:
              Updated:

              Slack

                Issue deployment