Skip to content

Commit 0503dfd

Browse files
virajjasanismengcl
andauthored
Update hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDatanodeReport.java
Co-authored-by: Siyao Meng <[email protected]>
1 parent a5ca479 commit 0503dfd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDatanodeReport.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ public void testDatanodeReportMissingBlock() throws Exception {
179179
retries++;
180180
if (retries > 7) {
181181
Assert.fail("getLocatedBlocks failed after 7 retries");
182-
break;
183182
}
184183
Thread.sleep(2000);
185184
} else {
@@ -235,4 +234,4 @@ static DataNode findDatanode(String id, List<DataNode> datanodes) {
235234
throw new IllegalStateException("Datnode " + id + " not in datanode list: "
236235
+ datanodes);
237236
}
238-
}
237+
}

0 commit comments

Comments
 (0)