You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2019/03/15 03:49:00 UTC

[jira] [Created] (HDDS-1288) SCM - Failing test on trunk that waits for HB report processing

Siddharth Wagle created HDDS-1288:
-------------------------------------

             Summary: SCM - Failing test on trunk that waits for HB report processing
                 Key: HDDS-1288
                 URL: https://issues.apache.org/jira/browse/HDDS-1288
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: Ozone Manager
    Affects Versions: 0.5.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 0.5.0


Test failing due to dependence on Thread.sleep and expecting heartbeat being processed in time.

{code}
Error Message
Expected exactly one metric for name HealthyNodes expected:<1> but was:<0>
Stacktrace
java.lang.AssertionError: Expected exactly one metric for name HealthyNodes expected:<1> but was:<0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.apache.hadoop.test.MetricsAsserts.checkCaptured(MetricsAsserts.java:275)
	at org.apache.hadoop.test.MetricsAsserts.getIntGauge(MetricsAsserts.java:157)
	at org.apache.hadoop.test.MetricsAsserts.assertGauge(MetricsAsserts.java:151)
	at org.apache.hadoop.ozone.scm.node.TestSCMNodeMetrics.testNodeCountAndInfoMetricsReported(TestSCMNodeMetrics.java:147)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org