From 555c16a3e77c4c195b505c4699e70e8f857369fc Mon Sep 17 00:00:00 2001 From: Donna Dionne Date: Mon, 1 Jun 2015 15:21:33 -0700 Subject: [PATCH] Adding csharp_dotnet into cloud suite of tests Currently the build is manual but will be automated over time --- tools/gce_setup/cloud_prod_runner.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tools/gce_setup/cloud_prod_runner.sh b/tools/gce_setup/cloud_prod_runner.sh index 576c2b24d19..4206a66db78 100755 --- a/tools/gce_setup/cloud_prod_runner.sh +++ b/tools/gce_setup/cloud_prod_runner.sh @@ -36,13 +36,18 @@ main() { source grpc_docker.sh test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response) auth_test_cases=(service_account_creds compute_engine_creds jwt_token_creds) - clients=(cxx java go ruby node csharp_mono python php) + clients=(cxx java go ruby node csharp_mono csharp_dotnet python php) for test_case in "${test_cases[@]}" do for client in "${clients[@]}" do + client_vm="grpc-docker-testclients" + if [ "$client" = "csharp_dotnet" ] + then + client_vm="grpc-windows-interop1" + fi log_file_name=cloud_{$test_case}_{$client}.txt - if grpc_cloud_prod_test $test_case grpc-docker-testclients $client > /tmp/$log_file_name 2>&1 + if grpc_cloud_prod_test $test_case $client_vm $client > /tmp/$log_file_name 2>&1 then echo " ['$test_case', '$client', 'prod', true, 'log']," >> /tmp/cloud_prod_result.txt else @@ -56,8 +61,13 @@ main() { do for client in "${clients[@]}" do + client_vm="grpc-docker-testclients" + if [ "$client" = "csharp_dotnet" ] + then + client_vm="grpc-windows-interop1" + fi log_file_name=cloud_{$test_case}_{$client}.txt - if grpc_cloud_prod_auth_test $test_case grpc-docker-testclients $client > /tmp/$log_file_name 2>&1 + if grpc_cloud_prod_auth_test $test_case $client_vm $client > /tmp/$log_file_name 2>&1 then echo " ['$test_case', '$client', 'prod', true, 'log']," >> /tmp/cloud_prod_result.txt else