yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject yetus git commit: YETUS-98. enable parallel tests on hadoop
Date Sun, 18 Oct 2015 14:54:54 GMT
Repository: yetus
Updated Branches:
  refs/heads/YETUS-83 ef9723dfa -> f5c86fdba


YETUS-98. enable parallel tests on hadoop


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

Branch: refs/heads/YETUS-83
Commit: f5c86fdba6e5fec8dc7ca9ceef4c3369c99eb676
Parents: ef9723d
Author: Allen Wittenauer <aw@apache.org>
Authored: Sun Oct 18 07:51:46 2015 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Sun Oct 18 07:54:32 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/f5c86fdb/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