andygrove commented on code in PR #1779:
URL: https://github.com/apache/datafusion-comet/pull/1779#discussion_r2103530656
##########
.github/actions/java-test/action.yaml:
##########
@@ -54,8 +54,13 @@ runs:
- name: Run tests
shell: bash
run: |
- SPARK_HOME=`pwd` ./mvnw -B clean install ${{ inputs.maven_opts }}
-
+ MAVEN_OPTS="-XX:+UnlockDiagnosticVMOptions -XX:+ShowMessageBoxOnError
-XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=./hs_err_pid%p.log"
SPARK_HOME=`pwd` ./mvnw -B clean install ${{ inputs.maven_opts }}
+ - name: Upload crash logs
+ if: failure()
+ uses: actions/upload-artifact@v4
+ with:
+ name: crash-logs
+ path: hs_err_pid*.log
Review Comment:
That's a good idea
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]