File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -344,16 +344,16 @@ function run_graalvm_tests() {
344344function generate_graalvm_presubmit_modules_list() {
345345 modules_assigned_list=()
346346 generate_modified_modules_list
347- if [[ ${# modified_module_list[@]} -gt 0 && ${# modified_module_list[@]} -lt 5 ]]; then
347+ if [[ ${# modified_module_list[@]} -gt 4 ]]; then
348+ # Too many modules modified, run a subset
349+ echo " Too many modules modified, running a subset"
350+ module_list=" java-aiplatform,java-compute"
351+ elif [[ ${# modified_module_list[@]} -gt 0 ]]; then
348352 # If only a few modules have been modified, focus presubmit testing only on them.
349353 module_list=$(
350354 IFS=,
351355 echo " ${modified_module_list[*]} "
352356 )
353- elif [[ ${# modified_module_list[@]} -gt 4 ]]; then
354- # Too many modules modified, run a subset
355- echo " Too many modules modified, running a subset"
356- module_list=" java-aiplatform,java-compute"
357357 else
358358 # no modules modified
359359 echo " No modules modified"
You can’t perform that action at this time.
0 commit comments