[ https://issues.apache.org/jira/browse/HDFS-11105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664545#comment-15664545 ]
Mingliang Liu commented on HDFS-11105: -------------------------------------- I think the patch makes sense; we need to make sure the condition is met before we do dependent operations and/or assertions. +1 I'll hold on commit this in 2 days in case someone else comments. > TestRBWBlockInvalidation#testRWRInvalidation fails intermittently > ----------------------------------------------------------------- > > Key: HDFS-11105 > URL: https://issues.apache.org/jira/browse/HDFS-11105 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: 3.0.0-alpha1 > Reporter: Yiqun Lin > Assignee: Yiqun Lin > Attachments: HDFS-11105.001.patch, HDFS-11105.002.patch > > > The test {{TestRBWBlockInvalidation#testRWRInvalidation}} fails > intermittently. The stack infos: > {code} > org.junit.ComparisonFailure: expected:<[old gs data > new gs data > ]> but was:<[]> > at org.junit.Assert.assertEquals(Assert.java:115) > at org.junit.Assert.assertEquals(Assert.java:144) > at > org.apache.hadoop.hdfs.server.blockmanagement.TestRBWBlockInvalidation.testRWRInvalidation(TestRBWBlockInvalidation.java:225) > {code} > The issue is caused by the blocks reported not completed, similar to > HDFS-10499. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org