You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2016/02/22 08:09:18 UTC

[jira] [Created] (MAPREDUCE-6642) Move the constructor to a method in HadoopTestCase

Akira AJISAKA created MAPREDUCE-6642:
----------------------------------------

             Summary: Move the constructor to a method in HadoopTestCase
                 Key: MAPREDUCE-6642
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6642
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: test
            Reporter: Akira AJISAKA
            Priority: Minor


After migrating to JUnit4, 
{code:title=HadoopTestCase.java}
  public HadoopTestCase(int mrMode, int fsMode, int taskTrackers, int dataNodes)
{code}
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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)