Hey Saikat, Running ant test-core in mapreduce on trunk should pass (modulo a handful of flaky tests). What failures are you seeing?
Info on how to add unit tests: http://wiki.apache.org/hadoop/HowToDevelopUnitTests Thanks, Eli On Sat, Sep 4, 2010 at 10:27 PM, Saikat Kanjilal <sxk1...@hotmail.com> wrote: > > HI Folks,I am working on this jira task and had some additional questions:1) > It seems that whenever I go to run the test or the test-core target on the > mapreduce codebase they both fail, I did a fresh sync prior to running these > targets today. Am I missing some other files that are necessary?2) If I want > to add a target for compiling and running a junit test suite that runs all of > the current mapreduce examples should I create a brand new target or try to > hack the test target to also run this set of tests, is there a standard when > introducing a new set of tests?Looking forward to getting some more help on > the above.Regards >> Date: Fri, 13 Aug 2010 01:19:15 -0400 >> From: j...@apache.org >> To: sxk1...@hotmail.com >> Subject: [jira] Moved: (MAPREDUCE-2008) write Junit test cases that run the >> Hadoop examples >> >> >> [ >> https://issues.apache.org/jira/browse/MAPREDUCE-2008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >> ] >> >> Amareshwari Sriramadasu moved HADOOP-6891 to MAPREDUCE-2008: >> ------------------------------------------------------------ >> >> Project: Hadoop Map/Reduce (was: Hadoop Common) >> Key: MAPREDUCE-2008 (was: HADOOP-6891) >> Affects Version/s: 0.20.2 >> (was: 0.20.2) >> Fix Version/s: 0.22.0 >> (was: 0.20.3) >> Component/s: examples >> test >> (was: test) >> >> > write Junit test cases that run the Hadoop examples >> > --------------------------------------------------- >> > >> > Key: MAPREDUCE-2008 >> > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2008 >> > Project: Hadoop Map/Reduce >> > Issue Type: New Feature >> > Components: examples, test >> > Affects Versions: 0.20.2 >> > Environment: N/A >> > Reporter: Saikat Kanjilal >> > Priority: Minor >> > Fix For: 0.22.0 >> > >> > Original Estimate: 20h >> > Remaining Estimate: 20h >> > >> > I will be adding junit test cases that run the hadoop examples, >> > specifically I'll be adding a test suite that tests everything under the >> > src/examples/org/apache/hadoop/examples package. Since this is my first >> > contribution to the project I'll need some help to figure out how to >> > submit this >> >> -- >> This message is automatically generated by JIRA. >> - >> You can reply to this email to add a comment to the issue online. >> >