The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
24 lines
654 B
24 lines
654 B
#!/bin/bash |
|
|
|
main() { |
|
source grpc_docker.sh |
|
test_cases=(large_unary empty_unary client_streaming server_streaming) |
|
clients=(cxx java go ruby) |
|
for test_case in "${test_cases[@]}" |
|
do |
|
for client in "${clients[@]}" |
|
do |
|
if grpc_cloud_prod_test $test_case grpc-docker-testclients $client |
|
then |
|
echo "$test_case $client $server passed" >> /tmp/cloud_prod_result.txt |
|
else |
|
echo "$test_case $client $server failed" >> /tmp/cloud_prod_result.txt |
|
fi |
|
done |
|
done |
|
gsutil cp /tmp/cloud_prod_result.txt gs://stoked-keyword-656-output/cloud_prod_result.txt |
|
rm /tmp/cloud_prod_result.txt |
|
} |
|
|
|
set -x |
|
main "$@"
|
|
|