hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9990) TestMetricsSystemImpl fails
Date Tue, 19 Nov 2013 02:59:22 GMT

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

Jonathan Eagles commented on HADOOP-9990:
-----------------------------------------

Closing this issue as duplicate.

> TestMetricsSystemImpl fails
> ---------------------------
>
>                 Key: HADOOP-9990
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9990
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: metrics, test
>    Affects Versions: 2.1.1-beta
>         Environment: Ubuntu 13.04
>            Reporter: Tsuyoshi OZAWA
>            Priority: Minor
>
> TestMetricsSystemImpl#testMultiThreadedPublish and testInitFirstVerifyStopInvokedImmediately
fails occasionally.
> {code}
> Running org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl
> Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.787 sec <<<
FAILURE! - in org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl
> testMultiThreadedPublish(org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl)  Time
elapsed: 0.078 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<2>
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.failNotEquals(Assert.java:647)
> 	at org.junit.Assert.assertEquals(Assert.java:128)
> 	at org.junit.Assert.assertEquals(Assert.java:472)
> 	at org.junit.Assert.assertEquals(Assert.java:456)
> 	at org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testMultiThreadedPublish(TestMetricsSystemImpl.java:231)
> {code}
> {code}
> testInitFirstVerifyStopInvokedImmediately(org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl)
 Time elapsed: 0.05 sec  <<< FAILURE!
> org.mockito.exceptions.base.MockitoAssertionError: 
> Wanted at most 2 times but was 3
> 	at org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testInitFirstVerifyStopInvokedImmediately(TestMetricsSystemImpl.java:114)
> {code}



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

Mime
View raw message