소스 검색

HDDS-2251. Add an option to customize unit.sh and integration.sh parameters

Closes #1598
Márton Elek 5 년 전
부모
커밋
579dc87015
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      hadoop-ozone/dev-support/checks/integration.sh
  2. 1 1
      hadoop-ozone/dev-support/checks/unit.sh

+ 1 - 1
hadoop-ozone/dev-support/checks/integration.sh

@@ -19,7 +19,7 @@ cd "$DIR/../../.." || exit 1
 export MAVEN_OPTS="-Xmx4096m"
 mvn -B install -f pom.ozone.xml -DskipTests
 mvn -B -fn test -f pom.ozone.xml -pl :hadoop-ozone-integration-test,:hadoop-ozone-filesystem,:hadoop-ozone-tools \
-  -Dtest=\!TestMiniChaosOzoneCluster
+  -Dtest=\!TestMiniChaosOzoneCluster "$@"
 
 REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/integration"}
 mkdir -p "$REPORT_DIR"

+ 1 - 1
hadoop-ozone/dev-support/checks/unit.sh

@@ -17,7 +17,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
 export MAVEN_OPTS="-Xmx4096m"
-mvn -B -fn test -f pom.ozone.xml -pl \!:hadoop-ozone-integration-test,\!:hadoop-ozone-filesystem,\!:hadoop-ozone-tools
+mvn -B -fn test -f pom.ozone.xml -pl \!:hadoop-ozone-integration-test,\!:hadoop-ozone-filesystem,\!:hadoop-ozone-tools "$@"
 
 REPORT_DIR=${OUTPUT_DIR:-"$DIR/../../../target/unit"}
 mkdir -p "$REPORT_DIR"