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

Li Lu commented on YARN-3459:
-----------------------------

Reproduced this failure on my local machine as well as Jenkins run for 
YARN-3426. Seems like the test failure was introduced by YARN-2901. 
[~wangda][~vvasudev] can anyone of you take a look at it? Thanks! 

> TestLog4jWarningErrorMetricsAppender breaks in trunk
> ----------------------------------------------------
>
>                 Key: YARN-3459
>                 URL: https://issues.apache.org/jira/browse/YARN-3459
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Li Lu
>            Assignee: Li Lu
>            Priority: Blocker
>             Fix For: 2.7.0
>
>
> TestLog4jWarningErrorMetricsAppender fails with the following message:
> {code}
> Running org.apache.hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.214 sec <<< 
> FAILURE! - in org.apache.hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender
> testPurge(org.apache.hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender)  
> Time elapsed: 2.01 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<1>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at org.junit.Assert.assertEquals(Assert.java:542)
>       at 
> org.apache.hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender.testPurge(TestLog4jWarningErrorMetricsAppender.java:89)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to