From 6e2d546e441bdb6eeb765e10d535746a05070620 Mon Sep 17 00:00:00 2001 From: Xuan Wang Date: Fri, 2 Jun 2023 16:47:16 -0700 Subject: [PATCH] buildscripts, psm interop: Don't fail target if sub-target already failed (#10241) 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 80d98eb97d1..88d76a783db 100755 --- a/buildscripts/kokoro/psm-security.sh +++ b/buildscripts/kokoro/psm-security.sh @@ -179,9 +179,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 586883df66f..0aa55ce36fe 100755 --- a/buildscripts/kokoro/xds_k8s_lb.sh +++ b/buildscripts/kokoro/xds_k8s_lb.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 "$@"