yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [2/9] yetus git commit: YETUS-98. enable parallel tests on hadoop
Date Tue, 20 Oct 2015 15:06:18 GMT
YETUS-98. enable parallel tests on hadoop

Signed-off-by: Allen Wittenauer <aw@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/b3a6ae05
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/b3a6ae05
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/b3a6ae05

Branch: refs/heads/YETUS-83
Commit: b3a6ae059484547b3701bc5274c74ec0a2061d98
Parents: df593f8
Author: Allen Wittenauer <aw@apache.org>
Authored: Sun Oct 18 07:51:46 2015 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Tue Oct 20 07:35:06 2015 -0700

----------------------------------------------------------------------
 dev-support/personality/hadoop.sh | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/b3a6ae05/dev-support/personality/hadoop.sh
----------------------------------------------------------------------
diff --git a/dev-support/personality/hadoop.sh b/dev-support/personality/hadoop.sh
index 1b0abde..f958f0c 100755
--- a/dev-support/personality/hadoop.sh
+++ b/dev-support/personality/hadoop.sh
@@ -263,14 +263,12 @@ function personality_modules
       fi
       ;;
     unit)
-      # As soon as HADOOP-11984 gets committed,
-      # this code should get uncommented
-      #if [[ ${TEST_PARALLEL} = "true" ]] ; then
-      #  extra="-Pparallel-tests"
-      #  if [[ -n ${TEST_THREADS:-} ]]; then
-      #    extra="${extra} -DtestsThreadCount=${TEST_THREADS}"
-      #  fi
-      #fi
+      if [[ ${TEST_PARALLEL} = "true" ]] ; then
+        extra="-Pparallel-tests"
+        if [[ -n ${TEST_THREADS:-} ]]; then
+          extra="${extra} -DtestsThreadCount=${TEST_THREADS}"
+        fi
+      fi
       needflags=true
       hadoop_unittest_prereqs
 


Mime
View raw message