You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by br...@apache.org on 2018/10/30 06:02:32 UTC
[02/50] [abbrv] hadoop git commit: HDFS-14025.
TestPendingReconstruction.testPendingAndInvalidate fails. Contributed by
Ayush Saxena.
HDFS-14025. TestPendingReconstruction.testPendingAndInvalidate fails. Contributed by Ayush Saxena.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/2a22253e
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/2a22253e
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/2a22253e
Branch: refs/heads/HDFS-13891
Commit: 2a22253e3e76114a465d593b7ab4ebcb29fc238d
Parents: baf1bce
Author: Inigo Goiri <in...@apache.org>
Authored: Wed Oct 24 16:18:27 2018 -0700
Committer: Brahma Reddy Battula <br...@apache.org>
Committed: Tue Oct 30 11:31:17 2018 +0530
----------------------------------------------------------------------
.../hdfs/server/blockmanagement/TestPendingReconstruction.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/2a22253e/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingReconstruction.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingReconstruction.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingReconstruction.java
index dc37ec06..d7c693f 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingReconstruction.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingReconstruction.java
@@ -441,6 +441,8 @@ public class TestPendingReconstruction {
// 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()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org