diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java index 32518e0b7f2..417ea3027ee 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java @@ -43,7 +43,7 @@ public class TestErasureCodingPolicyInfo { try { new ErasureCodingPolicyInfo(SystemErasureCodingPolicies .getByID(RS_6_3_POLICY_ID), null); - fail("Null policy should fail"); + fail("Null policy state should fail"); } catch (NullPointerException expected) { } }