File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ jobs:
190
190
export MAVEN_OPTS="-Xss64m -Xmx4g -Xms4g -XX:ReservedCodeCacheSize=128m -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
191
191
export MAVEN_CLI_OPTS="--no-transfer-progress"
192
192
export JAVA_VERSION=${{ matrix.java }}
193
+ export INPUT_BRANCH=${{ inputs.branch }}
193
194
export ENABLE_KINESIS_TESTS=0
194
195
# Replace with the real module name, for example, connector#kafka-0-10 -> connector/kafka-0-10
195
196
export TEST_MODULES=`echo "$MODULES_TO_TEST" | sed -e "s%#%/%g"`
@@ -209,6 +210,10 @@ jobs:
209
210
elif [[ "$MODULES_TO_TEST" == *"sql#hive-thriftserver"* ]]; then
210
211
# To avoid a compilation loop, for the `sql/hive-thriftserver` module, run `clean install` instead
211
212
./build/mvn $MAVEN_CLI_OPTS -pl "$TEST_MODULES" -Pyarn -Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Phadoop-cloud -Pjvm-profiler -Pspark-ganglia-lgpl -Pkinesis-asl -Djava.version=${JAVA_VERSION/-ea} clean install -fae
213
+ elif [[ "$MODULES_TO_TEST" == *"sql#pipelines"* && "$INPUT_BRANCH" == "branch-4.0" ]]; then
214
+ # SPARK-52441: Remove sql/pipelines from TEST_MODULES for branch-4.0, this branch can be deleted after the EOL of branch-4.0.
215
+ TEST_MODULES=${TEST_MODULES/,sql\/pipelines/}
216
+ ./build/mvn $MAVEN_CLI_OPTS -pl "$TEST_MODULES" -Pyarn -Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Pspark-ganglia-lgpl -Phadoop-cloud -Pjvm-profiler -Pkinesis-asl -Djava.version=${JAVA_VERSION/-ea} test -fae
212
217
else
213
218
./build/mvn $MAVEN_CLI_OPTS -pl "$TEST_MODULES" -Pyarn -Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Pspark-ganglia-lgpl -Phadoop-cloud -Pjvm-profiler -Pkinesis-asl -Djava.version=${JAVA_VERSION/-ea} test -fae
214
219
fi
You can’t perform that action at this time.
0 commit comments