Merge pull request #2687 from donnadionne/new_testcases

Adding new interop tests
pull/2713/head
Michael Lumish 10 years ago
commit 862488c4f7
  1. 4
      tools/gce_setup/cloud_prod_runner.sh
  2. 7
      tools/gce_setup/grpc_docker.sh
  3. 2
      tools/gce_setup/interop_test_runner.sh

@ -34,8 +34,8 @@ log_link=https://pantheon.corp.google.com/m/cloudstorage/b/stoked-keyword-656-ou
main() { main() {
source grpc_docker.sh source grpc_docker.sh
test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response) test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response empty_stream timeout_on_sleeping_server)
auth_test_cases=(service_account_creds compute_engine_creds jwt_token_creds) auth_test_cases=(service_account_creds compute_engine_creds jwt_token_creds oauth2_auth_token per_rpc_creds)
clients=(cxx java go ruby node csharp_mono csharp_dotnet python php) clients=(cxx java go ruby node csharp_mono csharp_dotnet python php)
for test_case in "${test_cases[@]}" for test_case in "${test_cases[@]}"
do do

@ -508,7 +508,12 @@ grpc_cloud_prod_auth_test_args() {
grpc_gen_test_cmd="grpc_cloud_prod_auth_" grpc_gen_test_cmd="grpc_cloud_prod_auth_"
[[ -n $1 ]] && { # test_case [[ -n $1 ]] && { # test_case
test_case=$1 test_case=$1
grpc_gen_test_cmd+="$1" test_command="service_account_creds"
if [ "$test_case" == "compute_engine_creds" ]
then
test_command="compute_engine_creds"
fi
grpc_gen_test_cmd+=$test_command
shift shift
} || { } || {
echo "$FUNCNAME: missing arg: test_case" 1>&2 echo "$FUNCNAME: missing arg: test_case" 1>&2

@ -37,7 +37,7 @@ fail_log_link=https://pantheon.corp.google.com/m/cloudstorage/b/stoked-keyword-6
main() { main() {
source grpc_docker.sh source grpc_docker.sh
test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response) test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response empty_stream timeout_on_sleeping_server)
clients=(cxx java go ruby node python csharp_mono php) clients=(cxx java go ruby node python csharp_mono php)
servers=(cxx java go ruby node python csharp_mono) servers=(cxx java go ruby node python csharp_mono)
for test_case in "${test_cases[@]}" for test_case in "${test_cases[@]}"

Loading…
Cancel
Save