From afdf3bfe1c365f49a24d0c9671a66e67217dc19d Mon Sep 17 00:00:00 2001 From: nic-chen Date: Tue, 29 Oct 2019 14:12:03 +0800 Subject: [PATCH] feat: separate grpc test case code --- .travis/osx_runner.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.travis/osx_runner.sh b/.travis/osx_runner.sh index fe53fe3d3f6ba..98aebb24f8d37 100755 --- a/.travis/osx_runner.sh +++ b/.travis/osx_runner.sh @@ -67,21 +67,7 @@ script() { sleep 1 #test grpc proxy - curl http://127.0.0.1:9080/apisix/admin/routes/1 -X PUT -d ' - { - "methods": ["POST", "GET"], - "uri": "/helloworld.Greeter/SayHello", - "service_protocol": "grpc", - "upstream": { - "type": "roundrobin", - "nodes": { - "127.0.0.1:50051": 1 - } - } - }' - - grpcurl -insecure -import-path ./grpc_server_example/proto -proto helloworld.proto -d '{"name":"apisix"}' 127.0.0.1:9443 helloworld.Greeter.SayHello - + sudo sh ./t/grpc-proxy-test.sh sleep 1 sudo make stop