You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2019/08/20 17:33:31 UTC
[hadoop] branch trunk updated: HDFS-13201. Fix prompt message in
testPolicyAndStateCantBeNull. Contributed by chencan.
This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new aa6995f HDFS-13201. Fix prompt message in testPolicyAndStateCantBeNull. Contributed by chencan.
aa6995f is described below
commit aa6995fde289719e0b300e11568c5e68c36b5d05
Author: Wei-Chiu Chuang <we...@apache.org>
AuthorDate: Tue Aug 20 10:32:55 2019 -0700
HDFS-13201. Fix prompt message in testPolicyAndStateCantBeNull. Contributed by chencan.
---
.../org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java
index 32518e0..417ea30 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/protocol/TestErasureCodingPolicyInfo.java
@@ -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) {
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org