From 05e4ddeee67d2a6a5807900311ea6b25a5c83703 Mon Sep 17 00:00:00 2001 From: Inigo Goiri Date: Thu, 28 Feb 2019 10:03:05 -0800 Subject: [PATCH] HDFS-14324. Fix TestDataNodeVolumeFailure. Contributed by Ayush Saxena. --- .../hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java index b70a3568de2..1ee5b83bdc7 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java @@ -308,6 +308,7 @@ public class TestDataNodeVolumeFailure { // DN0 should stop after the number of failure disks exceed tolerated // value (1). + dn0.checkDiskError(); assertFalse(dn0.shouldRun()); }