Skip to content

Commit 5d3f714

Browse files
authored
[MINOR] Fix run-scala-test.sh to always use build/mvn for JVM args extraction (apache#11598)
mvnd returns empty output for help:evaluate goal, causing --add-opens JVM flags to be missing. This broke Arrow memory initialization in tests like GlutenParquetTypeWideningSuite.
1 parent 9c784b3 commit 5d3f714

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/run-scala-test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,8 @@ log_step "Step 2: Getting JVM arguments from pom.xml..."
557557

558558
TIMER_STEP2_START=$(timer_now)
559559

560-
JVM_ARGS_RAW=$(${MVN_CMD} help:evaluate \
560+
# Always use build/mvn for help:evaluate (mvnd returns empty output for this goal)
561+
JVM_ARGS_RAW=$(./build/mvn help:evaluate \
561562
-Dexpression=extraJavaTestArgs \
562563
-q -DforceStdout \
563564
-P"${PROFILES}" 2>/dev/null || echo "")

0 commit comments

Comments
 (0)