Browse Source

HDFS-1311. Running tests with 'testcase' cause triple execution of the same test case. Contributed by Konstantin Boudnik.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@966394 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Boudnik 15 years ago
parent
commit
b86101ec0f
2 changed files with 8 additions and 2 deletions
  1. 3 0
      CHANGES.txt
  2. 5 2
      build.xml

+ 3 - 0
CHANGES.txt

@@ -694,6 +694,9 @@ Release 0.21.0 - Unreleased
 
   BUG FIXES
 
+    HDFS-1311. Running tests with 'testcase' cause triple execution of the
+    same test case (Cos)
+
     HDFS-1299. 'compile-fault-inject' never should be called directly. (cos)
 
     HDFS-1193. -mvn-system-deploy target is broken which inturn fails the

+ 5 - 2
build.xml

@@ -632,7 +632,9 @@
       exclude.list.id="commit.smoke.exclude.list.id"/>
   </target>
 
-  <target name="run-commit-test" depends="compile-hdfs-test" description="Run approximate 10-minute set of unit tests prior to commiting">
+  <target name="run-commit-test" depends="compile-hdfs-test"
+    description="Run approximate 10-minute set of unit tests prior to commiting"
+    unless="testcase">
      <macro-test-runner
        test.file="${test.hdfs.commit.tests.file}"
        suite.type="hdfs"
@@ -642,7 +644,8 @@
   </target>
 
   <target name="run-smoke-test" depends="compile-hdfs-test"
-    description="Run approximate 30-minute set of functional tests prior to guarantee HDFS viability">
+    description="Run approximate 30-minute set of functional tests to guarantee HDFS viability"
+    unless="testcase">
      <macro-test-runner
        test.file="${test.hdfs.smoke.tests.file}"
        suite.type="hdfs"