Fix Java CI crash caused by incorrect destruction order in core worker (#10709)

This commit is contained in:
Kai Yang authored and GitHub committed 2020-09-11 17:33:09 +08:00
1 parent e3af76f354
commit 23051385a4
3 files changed
+10 -7

No files matched your search

+4
View File
@@ -16,6 +16,10 @@ run_testng() {
fi
# exit_code == 2 means there are skipped tests.
if [ $exit_code -ne 2 ] && [ $exit_code -ne 0 ] ; then
if [ $exit_code -gt 128 ] ; then
# Test crashed. Print the driver log for diagnosis.
cat /tmp/ray/session_latest/logs/java-core-driver-*
fi
find . -name "hs_err_*log" -exec cat {} +
exit $exit_code
fi