(t *testing.T, pattern string, clus *integration.Cluster)
| 140 | } |
| 141 | |
| 142 | func templateEndpoints(t *testing.T, pattern string, clus *integration.Cluster) []string { |
| 143 | t.Helper() |
| 144 | var endpoints []string |
| 145 | for _, m := range clus.Members { |
| 146 | ent := pattern |
| 147 | ent = strings.ReplaceAll(ent, "${MEMBER_PORT}", m.GRPCPortNumber()) |
| 148 | ent = strings.ReplaceAll(ent, "${MEMBER_NAME}", m.Name) |
| 149 | endpoints = append(endpoints, ent) |
| 150 | } |
| 151 | return endpoints |
| 152 | } |
| 153 | |
| 154 | func templateAuthority(t *testing.T, pattern string, m *integration.Member) string { |
| 155 | t.Helper() |
no test coverage detected
searching dependent graphs…