Skip to content

Commit

Permalink
[PSM interop] Don't fail target if sub-target already failed (#33222)
Browse files Browse the repository at this point in the history
We configured TestGrid to file bug separately for each failed
sub-target, if we still fail the main target, TestGrid will fail
duplicate bugs.
  • Loading branch information
XuanWang-Amos committed May 31, 2023
1 parent 3e79c88 commit c40b186
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions tools/internal_ci/linux/grpc_xds_k8s_lb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,6 @@ main() {
run_test $test || (( ++failed_tests ))
done
echo "Failed test suites: ${failed_tests}"
if (( failed_tests > 0 )); then
exit 1
fi
}

main "$@"
3 changes: 0 additions & 3 deletions tools/internal_ci/linux/grpc_xds_k8s_lb_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
3 changes: 0 additions & 3 deletions tools/internal_ci/linux/grpc_xds_k8s_xlang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ main() {
set +x
echo "Failed test suites list: ${failed_string}"
echo "Successful test suites list: ${successful_string}"
if (( failed_tests > 0 )); then
exit 1
fi
}

main "$@"
3 changes: 0 additions & 3 deletions tools/internal_ci/linux/psm-security-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
3 changes: 0 additions & 3 deletions tools/internal_ci/linux/psm-security.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ main() {
run_test $test || (( ++failed_tests ))
done
echo "Failed test suites: ${failed_tests}"
if (( failed_tests > 0 )); then
exit 1
fi
}

main "$@"

0 comments on commit c40b186

Please sign in to comment.