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

This commit is contained in:
Wei-Chiu Chuang 2019-08-20 10:32:55 -07:00
parent 094d73608f
commit aa6995fde2

View File

@ -43,7 +43,7 @@ public void testPolicyAndStateCantBeNull() {
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) {
}
}