Skip to content

Commit

Permalink
fix filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
johzchen committed Oct 29, 2019
1 parent afdf3bf commit 48a4bc6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis/osx_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,21 @@ script() {
sleep 1

#test grpc proxy
sudo sh ./t/grpc-proxy-test.sh
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

sleep 1

sudo make stop
Expand Down

0 comments on commit 48a4bc6

Please sign in to comment.