This is an automated email from the ASF dual-hosted git repository.

changchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 5d3f7145cd [MINOR] Fix run-scala-test.sh to always use build/mvn for 
JVM args extraction (#11598)
5d3f7145cd is described below

commit 5d3f7145cd7fc258aa10b434ea4ec651bd82c764
Author: Chang Chen <[email protected]>
AuthorDate: Wed Feb 25 11:13:08 2026 +0800

    [MINOR] Fix run-scala-test.sh to always use build/mvn for JVM args 
extraction (#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.
---
 dev/run-scala-test.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/run-scala-test.sh b/dev/run-scala-test.sh
index 4cc1908085..6f3f8688d3 100755
--- a/dev/run-scala-test.sh
+++ b/dev/run-scala-test.sh
@@ -557,7 +557,8 @@ log_step "Step 2: Getting JVM arguments from pom.xml..."
 
 TIMER_STEP2_START=$(timer_now)
 
-JVM_ARGS_RAW=$(${MVN_CMD} help:evaluate \
+# Always use build/mvn for help:evaluate (mvnd returns empty output for this 
goal)
+JVM_ARGS_RAW=$(./build/mvn help:evaluate \
   -Dexpression=extraJavaTestArgs \
   -q -DforceStdout \
   -P"${PROFILES}" 2>/dev/null || echo "")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to