mirror of
https://github.com/wassname/ray.git
synced 2026-07-24 13:20:22 +08:00
Fix bug in java/test.sh (#7952)
Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
+2
-1
@@ -8,7 +8,8 @@ set -x
|
||||
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
|
||||
|
||||
run_testng() {
|
||||
$@ || exit_code=$?
|
||||
$@
|
||||
local exit_code=$?
|
||||
# exit_code == 2 means there are skipped tests.
|
||||
if [ $exit_code -ne 2 ] && [ $exit_code -ne 0 ] ; then
|
||||
exit $exit_code
|
||||
|
||||
Reference in New Issue
Block a user