diff --git a/src/objective-c/tests/run_tests.sh b/src/objective-c/tests/run_tests.sh index 1c34bd8f483..cec34787cf5 100755 --- a/src/objective-c/tests/run_tests.sh +++ b/src/objective-c/tests/run_tests.sh @@ -57,7 +57,7 @@ while [ $retries -lt 3 ]; do HOST_PORT_LOCALSSL=localhost:5051 \ HOST_PORT_LOCAL=localhost:5050 \ HOST_PORT_REMOTE=grpc-test.sandbox.googleapis.com \ - test \ + test 2>&1 \ | egrep -v "$XCODEBUILD_FILTER" \ | egrep -v '^$' \ | egrep -v "(GPBDictionary|GPBArray)" - ) || return_code=$? @@ -66,6 +66,7 @@ while [ $retries -lt 3 ]; do echo "Failed with code 65 (DTXProxyChannel error 1); retry." retries=$(($retries+1)) elif [ $return_code == 0 ]; then + echo "$out" break else echo "$out"