[ https://issues.apache.org/jira/browse/PIG-2908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451716#comment-13451716 ]
Rohini Palaniswamy commented on PIG-2908: ----------------------------------------- That would be ideal. TestGFCross was easy to fix to run independent of the order. TestJsonLoaderStorage - first test does store, the second and third do load from data stored in first test. So I am merging the tests into one as junit does not have dependsOnMethods option like in TestNG. TestLogToPhyCompiler, TestMRCompiler depend on golden files and the order of tests is important. TestMergeJoinOuter and TestNewPlanLogToPhyTranslationVisitor, I think they could be fixed to be independent. The plans are different when the order of tests is different. I need to spend some more time to track that one down and fix them to succeed independent of the order. > Fix unit tests to work with jdk7 > -------------------------------- > > Key: PIG-2908 > URL: https://issues.apache.org/jira/browse/PIG-2908 > Project: Pig > Issue Type: Test > Reporter: Rohini Palaniswamy > Assignee: Rohini Palaniswamy > Priority: Minor > > Fix unit tests that fail when compiling with jdk7 as they depend on the order > of tests run - TestGFCross, TestJsonLoaderStorage, TestLogToPhyCompiler, > TestMRCompiler, TestMergeJoinOuter and TestNewPlanLogToPhyTranslationVisitor. > jdk7 returns methods in a different order during reflection. -- 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