From d8c60f829fbd4727c81784207c16df41c8636dc4 Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Tue, 20 Aug 2019 10:32:55 -0700 Subject: [PATCH] HDFS-13201. Fix prompt message in testPolicyAndStateCantBeNull. Contributed by chencan. (cherry picked from commit aa6995fde289719e0b300e11568c5e68c36b5d05) (cherry picked from commit b004d305e933bdb588b84062be87c23168640697) --- .../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 32518e0b7f2..417ea3027ee 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) { } }