HDFS-13201. Fix prompt message in testPolicyAndStateCantBeNull. Contributed by chencan.
(cherry picked from commit aa6995fde2
)
This commit is contained in:
parent
6d93886231
commit
b004d305e9
|
@ -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) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue