Skip to content

Commit

Permalink
xds interop: Fix buildscripts not continuing on a failed test suite (…
Browse files Browse the repository at this point in the history
…v1.48.x backport) (grpc#5942)
  • Loading branch information
sergiitk committed Jan 18, 2023
1 parent ea06f8f commit b659ffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/kokoro/psm-security.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ main() {
local failed_tests=0
test_suites=("baseline_test" "security_test" "authz_test")
for test in "${test_suites[@]}"; do
run_test $test || (( failed_tests++ ))
run_test $test || (( ++failed_tests ))
done
echo "Failed test suites: ${failed_tests}"
if (( failed_tests > 0 )); then
Expand Down
2 changes: 1 addition & 1 deletion test/kokoro/xds_k8s_lb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ main() {
local failed_tests=0
test_suites=("api_listener_test" "change_backend_service_test" "failover_test" "remove_neg_test" "round_robin_test" "affinity_test")
for test in "${test_suites[@]}"; do
run_test $test || (( failed_tests++ ))
run_test $test || (( ++failed_tests ))
done
echo "Failed test suites: ${failed_tests}"
if (( failed_tests > 0 )); then
Expand Down

0 comments on commit b659ffa

Please sign in to comment.