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 "Yiqun Lin (JIRA)" <ji...@apache.org> on 2016/11/27 08:11:58 UTC

[jira] [Created] (HDFS-11178) TestAddStripedBlockInFBR#testAddBlockInFullBlockReport fails frequently in trunk

Yiqun Lin created HDFS-11178:
--------------------------------

             Summary: TestAddStripedBlockInFBR#testAddBlockInFullBlockReport fails frequently in trunk
                 Key: HDFS-11178
                 URL: https://issues.apache.org/jira/browse/HDFS-11178
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: test
            Reporter: Yiqun Lin
            Assignee: Yiqun Lin


The test {{TestAddStripedBlockInFBR#testAddBlockInFullBlockReport}} fails easily in trunk. It's easy to reproduce the failure, it fails 2~3 times when I run the test 4~-5 times in my local. Also it fails in the recent Jenkins, The stack infos:
{code}
java.lang.AssertionError: expected:<9> but was:<7>
	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.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.hadoop.hdfs.server.namenode.TestAddStripedBlockInFBR.testAddBlockInFullBlockReport(TestAddStripedBlockInFBR.java:108)
{code}
It's easy to have a fix: Use {{GenericTestUtils.waitFor}} to wait the full blocks being reported. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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