You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/10/06 09:31:02 UTC

[jira] [Updated] (AMBARI-22155) Intermittent failure of FlumeTimelineMetricsSinkTest

     [ https://issues.apache.org/jira/browse/AMBARI-22155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doroszlai, Attila updated AMBARI-22155:
---------------------------------------
    Attachment: AMBARI-22155.patch

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