Doroszlai, Attila created AMBARI-22155:
------------------------------------------
Summary: 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)