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