hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r982820 - in /hadoop/hdfs/trunk: CHANGES.txt build.xml
Date Thu, 05 Aug 2010 22:56:44 GMT
Author: cos
Date: Thu Aug  5 22:56:44 2010
New Revision: 982820

URL: http://svn.apache.org/viewvc?rev=982820&view=rev
Log:
HDFS-806. Add new unit tests to the 10-mins 'run-commit-test' target.  Contributed by Konstantin
Boudnik.

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/build.xml

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=982820&r1=982819&r2=982820&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Thu Aug  5 22:56:44 2010
@@ -712,6 +712,8 @@ Release 0.21.0 - Unreleased
     HDFS-1277. [Herriot] New property for multi user list. (Vinay Thota via
     cos)
 
+    HDFS-806. Add new unit tests to the 10-mins 'run-commit-test' target (cos)
+
   OPTIMIZATIONS
 
     HDFS-946. NameNode should not return full path name when lisitng a

Modified: hadoop/hdfs/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/build.xml?rev=982820&r1=982819&r2=982820&view=diff
==============================================================================
--- hadoop/hdfs/trunk/build.xml (original)
+++ hadoop/hdfs/trunk/build.xml Thu Aug  5 22:56:44 2010
@@ -544,7 +544,7 @@
   <!-- Define exclude lists for different kinds of testing                -->
   <!-- ================================================================== -->
   <patternset id="empty.exclude.list.id" />
-    <patternset id="commit.smoke.exclude.list.id">
+  <patternset id="commit.smoke.exclude.list.id">
     <excludesfile name="${test.hdfs.commit.tests.file}"/>
     <excludesfile name="${test.hdfs.smoke.tests.file}"/>
   </patternset>
@@ -626,11 +626,21 @@
   </macrodef>
 
   <target name="run-test-hdfs" depends="run-commit-test, run-smoke-test,
-    run-test-hdfs-excluding-commit-and-smoke"
+    run-test-hdfs-excluding-commit-and-smoke, run-test-hdfs-all-withtestcaseonly"
     description="Run full set of hdfs unit tests">
   </target>
 
-  <target name="run-test-hdfs-excluding-commit-and-smoke" depends="compile-hdfs-test">
+  <target name="run-test-hdfs-all-withtestcaseonly" depends="compile-hdfs-test" if="testcase">
+    <macro-test-runner
+      test.file="${test.hdfs.all.tests.file}"
+      suite.type="hdfs"
+      classpath="${test.classpath.id}"
+      test.dir="${test.build.dir}"
+      fileset.dir="${test.src.dir}"/>
+  </target>
+
+  <target name="run-test-hdfs-excluding-commit-and-smoke"
+  depends="compile-hdfs-test" unless="testcase">
     <macro-test-runner
       test.file="${test.hdfs.all.tests.file}"
       suite.type="hdfs"
@@ -644,6 +654,12 @@
     description="Run approximate 10-minute set of unit tests prior to commiting"
     unless="testcase">
      <macro-test-runner
+       test.file="${test.hdfs.all.tests.file}"
+       suite.type="unit"
+       classpath="${test.classpath.id}"
+       test.dir="${test.build.dir}"
+       fileset.dir="${test.src.dir}"/>
+     <macro-test-runner
        test.file="${test.hdfs.commit.tests.file}"
        suite.type="hdfs"
        classpath="${test.classpath.id}"



Mime
View raw message