[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797986#comment-13797986
 ] 

Jonathan Eagles commented on MAPREDUCE-5587:
--------------------------------------------

Through experimentation, only two different test method orders were shown to 
succeed.
|testFormatWithCustomSeparator|
|testCompress|
|testFormat|

|testFormat|
|testFormatWithCustomSeparator|
|testCompress|

All other orders produced failures. Thus the inter-dependency is that 
_testCompress_ must be run *immediately after* _testFormatWithCustomSeparator_.

*Dependencies Identified*
* All tests verify success by reading input from the same test file test.txt
* _testCompress_ relies on having the same custom separator as 
_testFormatWithCustomSeparator_
* _testCompress_ actually writes a file name test.txt.deflate

> TestTextOutputFormat fails on JDK7
> ----------------------------------
>
>                 Key: MAPREDUCE-5587
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5587
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>
> the test method run order on JDK7 is not fixed causing test method 
> inter-dependencies to show themselves.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to