Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ presubmit)
RETURN_CODE=$(($RETURN_CODE || $?))
run_unit_tests "2.13"
RETURN_CODE=$(($RETURN_CODE || $?))
;;
presubmit-spark4)

# This job runs on the java17 image; Spark 4.0 needs the JPMS --add-opens flags.
Comment on lines +304 to 305

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Merging the presubmit-spark4 block into presubmit introduces a critical bug: on line 307, RETURN_CODE is reset to 0 (RETURN_CODE=0). This discards the exit status of all the preceding Spark 3.x tests (lines 291-303), meaning any failures in those tests will be ignored and the presubmit job will incorrectly report success. Please remove the RETURN_CODE=0 statement on line 307 so that failures from all tests are properly accumulated.

set_spark4_java_tool_options
RETURN_CODE=0
Expand Down