ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-22155) Intermittent failure of FlumeTimelineMetricsSinkTest
Date Mon, 09 Oct 2017 16:59:00 GMT

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

Doroszlai, Attila updated AMBARI-22155:
---------------------------------------
    Attachment:     (was: 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
>
>
> {{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)

Mime
View raw message