HDFS-14025. TestPendingReconstruction.testPendingAndInvalidate fails. Contributed by Ayush Saxena.
This commit is contained in:
parent
244afaba4a
commit
936fc3f3c2
@ -441,6 +441,8 @@ public void testPendingAndInvalidate() throws Exception {
|
||||
// 1. create a file
|
||||
Path filePath = new Path("/tmp.txt");
|
||||
DFSTestUtil.createFile(fs, filePath, 1024, (short) 3, 0L);
|
||||
DFSTestUtil.waitForReplication(cluster.getFileSystem(), filePath,
|
||||
(short) 3, 10000);
|
||||
|
||||
// 2. disable the heartbeats
|
||||
for (DataNode dn : cluster.getDataNodes()) {
|
||||
|
Loading…
Reference in New Issue
Block a user