Skip to content

Commit e19f676

Browse files
committed
fix(ci): ensure script exits with failure code when tests fail
1 parent 0ec7d6d commit e19f676

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.kokoro/system.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,5 @@ export system_test_script PROJECT_ROOT KOKORO_GFILE_DIR
252252
printf '%s\n' "${PACKAGES_TO_TEST[@]}" | xargs -P "$MAX_JOBS" -I {} bash -c 'run_package_test "{}" > "$LOG_DIR/{}.log" 2>&1 || touch "$LOG_DIR/{}.failed"'
253253

254254
reap_parallel_results || RETVAL=1
255+
256+
exit ${RETVAL}

0 commit comments

Comments
 (0)