浏览代码

HDFS-549. Allow a non-fault-inject test, which is specified by -Dtestcase, to be executed by the run-test-hdfs-fault-inject target. Contributed by Konstantin Boudnik

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@807311 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze 16 年之前
父节点
当前提交
8c9d78cf66
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 4 0
      CHANGES.txt
  2. 2 0
      build.xml

+ 4 - 0
CHANGES.txt

@@ -110,6 +110,10 @@ Trunk (unreleased changes)
     HDFS-552. Change TestFiDataTransferProtocol to junit 4 and add a few new
     tests.  (szetszwo)
 
+    HDFS-549. Allow a non-fault-inject test, which is specified by -Dtestcase,
+    to be executed by the run-test-hdfs-fault-inject target.  (Konstantin
+    Boudnik via szetszwo)
+
   BUG FIXES
 
     HDFS-76. Better error message to users when commands fail because of 

+ 2 - 0
build.xml

@@ -636,6 +636,7 @@
         </batchtest>
         <batchtest todir="${test.build.dir}" if="tests.testcase.fi">
           <fileset dir="${test.src.dir}/aop" includes="**/${testcase}.java"/>
+          <fileset dir="${test.src.dir}/hdfs" includes="**/${testcase}.java"/>
         </batchtest>
       </junit>
       <antcall target="checkfailure"/>
@@ -695,6 +696,7 @@
       </batchtest>
       <batchtest todir="${test.build.dir}" if="tests.testcase.fi">
         <fileset dir="${test.src.dir}/aop" includes="**/${testcase}.java"/>
+        <fileset dir="${test.src.dir}/hdfs-with-mr" includes="**/${testcase}.java"/>
       </batchtest>
     </junit>
     <antcall target="checkfailure"/>