fix(interop) fix failing interop test with go client (#442)

* fix failing interop test

* do not run go client when --use_tls is set
This commit is contained in:
Juan Alvarez
2020-08-31 10:23:12 -05:00
committed by GitHub
parent 26ce9d12bf
commit ca8e597e95
2 changed files with 14 additions and 4 deletions
+9
View File
@@ -16,6 +16,7 @@ esac
ARG="${1:-""}"
(cd interop && cargo build --bins)
SERVER="interop/bin/server_${OS}_amd64${EXT}"
@@ -57,3 +58,11 @@ sleep 1
--test_case=empty_unary,large_unary,client_streaming,server_streaming,ping_pong,\
empty_stream,status_code_and_message,special_status_message,unimplemented_method,\
unimplemented_service,custom_metadata ${ARG}
if [ -z "${ARG}" ]; then
# TODO: run all other test cases w/wo tls
GO_CLIENT="interop/bin/client_${OS}_amd64${EXT}"
$GO_CLIENT --test_case="status_code_and_message"
$GO_CLIENT --test_case="custom_metadata"
fi