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

Hudson commented on AMBARI-22155:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8231 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8231/])
AMBARI-22155. Intermittent failure of FlumeTimelineMetricsSinkTest (adoroszlai: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b0c24a5153949e4c0cbf70d217276416515c1211])
* (edit) 
ambari-metrics/ambari-metrics-flume-sink/src/test/java/org/apache/hadoop/metrics2/sink/flume/FlumeTimelineMetricsSinkTest.java


> Intermittent failure of FlumeTimelineMetricsSinkTest
> ----------------------------------------------------
>
>                 Key: AMBARI-22155
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22155
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.0.0
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: AMBARI-22155.patch
>
>
> {{FlumeTimelineMetricsSinkTest.testMonitorRestart}} fails intermittently due 
> to non-deterministic nature of the test.
> {noformat:title=https://builds.apache.org/job/Ambari-trunk-Commit/8213/consoleText}
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.499 sec <<< 
> FAILURE! - in 
> org.apache.hadoop.metrics2.sink.flume.FlumeTimelineMetricsSinkTest
> testMonitorRestart(org.apache.hadoop.metrics2.sink.flume.FlumeTimelineMetricsSinkTest)
>   Time elapsed: 0.032 sec  <<< FAILURE!
> java.lang.AssertionError: 
>   Expectation failure on verify:
>     JMXPollUtil.getAllMBeans(): expected: 1, actual: 1
>       at 
> org.apache.hadoop.metrics2.sink.flume.FlumeTimelineMetricsSinkTest.testMonitorRestart(FlumeTimelineMetricsSinkTest.java:98)
> {noformat}
> AMBARI-8946 fixed the same problem in other methods of the same test class, 
> but {{testMonitorRestart}} was not changed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to