From 92e91c057349316d80a4a313b092796d9c5f0142 Mon Sep 17 00:00:00 2001 From: Xuan Wang Date: Wed, 31 May 2023 17:37:46 -0700 Subject: [PATCH] buildscripts, psm interop: Don't fail target if sub-target already failed We configured TestGrid to file bug separately for each failed sub-target, if we still fail the main target, TestGrid will fail duplicate bugs. The same change in core: https://github.com/grpc/grpc/pull/33222. --- buildscripts/kokoro/psm-security.sh | 3 --- buildscripts/kokoro/xds_k8s_lb.sh | 3 --- 2 files changed, 6 deletions(-) diff --git a/buildscripts/kokoro/psm-security.sh b/buildscripts/kokoro/psm-security.sh index 4f9ef07cc93..f90ce231906 100755 --- a/buildscripts/kokoro/psm-security.sh +++ b/buildscripts/kokoro/psm-security.sh @@ -180,9 +180,6 @@ main() { run_test $test || (( ++failed_tests )) done echo "Failed test suites: ${failed_tests}" - if (( failed_tests > 0 )); then - exit 1 - fi } main "$@" diff --git a/buildscripts/kokoro/xds_k8s_lb.sh b/buildscripts/kokoro/xds_k8s_lb.sh index 9efb124465b..c32b353a024 100755 --- a/buildscripts/kokoro/xds_k8s_lb.sh +++ b/buildscripts/kokoro/xds_k8s_lb.sh @@ -181,9 +181,6 @@ main() { run_test $test || (( ++failed_tests )) done echo "Failed test suites: ${failed_tests}" - if (( failed_tests > 0 )); then - exit 1 - fi } main "$@"