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

Move the constructor to a method in HadoopTestCase

    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

            People

              cotedm Dustin Cote
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: