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

Doroszlai, Attila updated AMBARI-22155:
---------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to 
[trunk|http://git-wip-us.apache.org/repos/asf/ambari/commit/b0c24a5153].

> 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