hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Sanjar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4821) Unit Test: TestJobTrackerRestart fails when it is run with ant-1.8.4
Date Mon, 26 Nov 2012 22:44:58 GMT
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

Mime
View raw message