diff --git a/tests/e2e/cluster_test.go b/tests/e2e/cluster_test.go index d176b45209c7..5074a6ed0047 100644 --- a/tests/e2e/cluster_test.go +++ b/tests/e2e/cluster_test.go @@ -438,6 +438,14 @@ func (epc *etcdProcessCluster) EndpointsV3() []string { return epc.endpoints(func(ep etcdProcess) []string { return ep.EndpointsV3() }) } +func (epc *etcdProcessCluster) EndpointsGRPC() []string { + return epc.Endpoints(func(ep etcdProcess) []string { return ep.EndpointsGRPC() }) +} + +func (epc *etcdProcessCluster) EndpointsHTTP() []string { + return epc.Endpoints(func(ep etcdProcess) []string { return ep.EndpointsHTTP() }) +} + func (epc *etcdProcessCluster) endpoints(f func(ep etcdProcess) []string) (ret []string) { for _, p := range epc.procs { ret = append(ret, f(p)...)