浏览代码

HDFS-13201. Fix prompt message in testPolicyAndStateCantBeNull. Contributed by chencan.

Wei-Chiu Chuang 5 年之前
父节点
当前提交
aa6995fde2

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java

@@ -43,7 +43,7 @@ public class TestErasureCodingPolicyInfo {
     try {
     try {
       new ErasureCodingPolicyInfo(SystemErasureCodingPolicies
       new ErasureCodingPolicyInfo(SystemErasureCodingPolicies
           .getByID(RS_6_3_POLICY_ID), null);
           .getByID(RS_6_3_POLICY_ID), null);
-      fail("Null policy should fail");
+      fail("Null policy state should fail");
     } catch (NullPointerException expected) {
     } catch (NullPointerException expected) {
     }
     }
   }
   }