[
https://issues.apache.org/jira/browse/HDDS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060297#comment-17060297
]
Attila Doroszlai commented on HDDS-3215:
----------------------------------------
Can be reproduced by adding 10 sec sleep before the assert in
{{TestSCMNodeMetrics.testNodeReportProcessing}}. The problem is that
{{NodeReportHandler}} might process a report in the background, so the count is
more than the expected.
> Intermittent failure in TestSCMNodeMetrics
> ------------------------------------------
>
> Key: HDDS-3215
> URL: https://issues.apache.org/jira/browse/HDDS-3215
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Reporter: Attila Doroszlai
> Priority: Major
>
> {code:title=https://github.com/apache/hadoop-ozone/pull/685/checks?check_run_id=510448702}
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 73.425 s <<<
> FAILURE! - in org.apache.hadoop.ozone.scm.node.TestSCMNodeMetrics
> testNodeReportProcessing(org.apache.hadoop.ozone.scm.node.TestSCMNodeMetrics)
> Time elapsed: 13.505 s <<< FAILURE!
> java.lang.AssertionError: Bad value for metric NumNodeReportProcessed
> expected:<2> but was:<3>
> ...
> at
> org.apache.hadoop.test.MetricsAsserts.assertCounter(MetricsAsserts.java:227)
> at
> org.apache.hadoop.ozone.scm.node.TestSCMNodeMetrics.testNodeReportProcessing(TestSCMNodeMetrics.java:110)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]