[ https://issues.apache.org/jira/browse/MAPREDUCE-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500038#comment-13500038 ]
Matt Foley commented on MAPREDUCE-4792: --------------------------------------- Amir, the attached patch seems okay (although it would be fine to keep the "import org/junit/*" instead of adding all the specific cases). +1. Committed to branch-1 and branch-1.1. > Unit Test TestJobTrackerRestartWithLostTracker fails with ant-1.8.4 > ------------------------------------------------------------------- > > Key: MAPREDUCE-4792 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4792 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test > Affects Versions: 1.0.3, 1.0.4 > Environment: fedora 17_64 x86 > Reporter: Amir Sanjar > Assignee: Amir Sanjar > Fix For: 1.1.1 > > Attachments: MAPREDUCE-4792-branch-1.patch > > > 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. -- 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