diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml
index e6672133d9..bd451ebf7a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml
@@ -376,7 +376,7 @@
- getPolicy : get EC policy information at specified path, which doesn't have an EC policy
+ getPolicy : get EC policy information at specified path, which has an EC policy
-fs NAMENODE -mkdir /ecdir
-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir
@@ -394,7 +394,7 @@
- getPolicy : get EC policy information at specified path, which doesn't have an EC policy
+ getPolicy : get EC policy information at specified path, which has an EC policy
-fs NAMENODE -mkdir /ecdir
-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir