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

fang fang chen commented on PIG-3058:
-------------------------------------

Hi Cheolsoo,

After upgrade junit to latest version 4.11. Only TestPigRunner failed with 
following information. But the failures are not contributed by junit upgrade. 
The same situation also happened at original trunk workspace(junit 4.5).
My environment: 
java version "1.6.0_20"
ant version 1.8.2

Failed Testcases:
Testcase: simpleMultiQueryTest took 26.965 sec
        FAILED
expected:<28> but was:<30>
junit.framework.AssertionFailedError: expected:<28> but was:<30>
        at 
org.apache.pig.test.TestPigRunner.simpleMultiQueryTest(TestPigRunner.java:262)

Testcase: simpleMultiQueryTest2 took 39.002 sec
        FAILED
expected:<18> but was:<20>
junit.framework.AssertionFailedError: expected:<18> but was:<20>
        at 
org.apache.pig.test.TestPigRunner.simpleMultiQueryTest2(TestPigRunner.java:301)

                
> Upgrade junit to at least 4.8
> -----------------------------
>
>                 Key: PIG-3058
>                 URL: https://issues.apache.org/jira/browse/PIG-3058
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.11
>            Reporter: fang fang chen
>            Assignee: fang fang chen
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
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

Reply via email to