fix go client_matrix.py

pull/18878/head
Jan Tattermusch 6 years ago
parent 9c6830a3f5
commit cc0fc17301
  1. 38
      tools/interop_matrix/client_matrix.py
  2. 20
      tools/interop_matrix/testcases/go__v1.0.5

@ -100,25 +100,25 @@ LANG_RELEASE_MATRIX = {
]),
'go':
OrderedDict([
('v1.0.5', ReleaseInfo(runtimes=['go1.8'])),
('v1.2.1', ReleaseInfo(runtimes=['go1.8'])),
('v1.3.0', ReleaseInfo(runtimes=['go1.8'])),
('v1.4.2', ReleaseInfo(runtimes=['go1.8'])),
('v1.5.2', ReleaseInfo(runtimes=['go1.8'])),
('v1.6.0', ReleaseInfo(runtimes=['go1.8'])),
('v1.7.4', ReleaseInfo(runtimes=['go1.8'])),
('v1.8.2', ReleaseInfo(runtimes=['go1.8'])),
('v1.9.2', ReleaseInfo(runtimes=['go1.8'])),
('v1.10.1', ReleaseInfo(runtimes=['go1.8'])),
('v1.11.3', ReleaseInfo(runtimes=['go1.8'])),
('v1.12.2', ReleaseInfo(runtimes=['go1.8'])),
('v1.13.0', ReleaseInfo(runtimes=['go1.8'])),
('v1.14.0', ReleaseInfo(runtimes=['go1.8'])),
('v1.15.0', ReleaseInfo(runtimes=['go1.8'])),
('v1.16.0', ReleaseInfo(runtimes=['go1.8'])),
('v1.17.0', ReleaseInfo(runtimes=['go1.11'])),
('v1.18.0', ReleaseInfo(runtimes=['go1.11'])),
('v1.19.0', ReleaseInfo(runtimes=['go1.11'])),
('v1.0.5', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.2.1', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.3.0', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.4.2', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.5.2', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.6.0', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.7.4', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.8.2', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.9.2', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.10.1', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.11.3', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.12.2', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.13.0', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.14.0', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.15.0', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.16.0', ReleaseInfo(runtimes=['go1.8'], testcases_file='go__v1.0.5')),
('v1.17.0', ReleaseInfo(runtimes=['go1.11'], testcases_file='go__v1.0.5')),
('v1.18.0', ReleaseInfo(runtimes=['go1.11'], testcases_file='go__v1.0.5')),
('v1.19.0', ReleaseInfo(runtimes=['go1.11'], testcases_file='go__v1.0.5')),
('v1.20.0', ReleaseInfo(runtimes=['go1.11'])),
('v1.21.0', ReleaseInfo(runtimes=['go1.11'])),
]),

@ -0,0 +1,20 @@
#!/bin/bash
echo "Testing ${docker_image:=grpc_interop_go:dd8fbf3a-4964-4387-9997-5dadeea09835}"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=large_unary"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=empty_unary"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=ping_pong"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=empty_stream"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=client_streaming"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=server_streaming"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=cancel_after_begin"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=cancel_after_first_response"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test.sandbox.googleapis.com --server_host_override=grpc-test.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=timeout_on_sleeping_server"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=large_unary"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=empty_unary"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=ping_pong"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=empty_stream"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=client_streaming"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=server_streaming"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=cancel_after_begin"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=cancel_after_first_response"
docker run -i --rm=true -w /go/src/google.golang.org/grpc/interop/client --net=host $docker_image bash -c "go run client.go --server_host=grpc-test4.sandbox.googleapis.com --server_host_override=grpc-test4.sandbox.googleapis.com --server_port=443 --use_tls=true --test_case=timeout_on_sleeping_server"
Loading…
Cancel
Save