HDFS-13201. Fix prompt message in testPolicyAndStateCantBeNull. Contributed by chencan.
This commit is contained in:
parent
094d73608f
commit
aa6995fde2
@ -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) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user