hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-6642) Move the constructor to a method in HadoopTestCase
Date Mon, 22 Feb 2016 07:09:18 GMT
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)

Mime
View raw message