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:34:11 UTC

[hadoop] branch branch-3.2 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 branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new b004d30  HDFS-13201. Fix prompt message in testPolicyAndStateCantBeNull. Contributed by chencan.
b004d30 is described below

commit b004d305e933bdb588b84062be87c23168640697
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.
    
    (cherry picked from commit aa6995fde289719e0b300e11568c5e68c36b5d05)
---
 .../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