You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Amir Sanjar (JIRA)" <ji...@apache.org> on 2012/11/26 23:44:58 UTC

[jira] [Created] (MAPREDUCE-4821) Unit Test: TestJobTrackerRestart fails when it is run with ant-1.8.4

Amir Sanjar created MAPREDUCE-4821:
--------------------------------------

             Summary: Unit Test: TestJobTrackerRestart fails when it is run with ant-1.8.4
                 Key: MAPREDUCE-4821
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4821
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: test
    Affects Versions: 1.0.4, 1.0.3
         Environment: RHEL 6.3 on x86
            Reporter: Amir Sanjar
             Fix For: 1.1.1, 1.0.3


Problem:
JUnit tag @Ignore is not recognized since the testcase is JUnit3 and not JUnit4:
Solution:
Migrate the testcase to JUnit4, including:
* Remove extends TestCase"
* Remove import junit.framework.TestCase;
* Add import org.junit.*; 
* Use appropriate annotations such as @After, @Before, @Test.

uploading a patch shortly 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira