integration: add grpc auth testing

This commit is contained in:
Anthony Romano
2017-01-09 14:12:30 -08:00
parent 8adfc06084
commit 5278ea5ed0
4 changed files with 61 additions and 0 deletions

View File

@ -49,6 +49,7 @@ func toGRPC(c *clientv3.Client) grpcAPI {
pb.NewLeaseClient(c.ActiveConnection()),
grpcproxy.WatchServerToWatchClient(wp),
pb.NewMaintenanceClient(c.ActiveConnection()),
pb.NewAuthClient(c.ActiveConnection()),
}
proxies[c] = grpcClientProxy{grpc: grpc, wdonec: wpch}
return grpc