(totalZones int)
| 173 | } |
| 174 | |
| 175 | func newMockedTokenGenerator(totalZones int) *mockedTokenGenerator { |
| 176 | return &mockedTokenGenerator{totalZones: totalZones, zones: make(map[string]int)} |
| 177 | } |
| 178 | |
| 179 | func assertDistancePerIngester(t testing.TB, d *Desc, tolerance float64) { |
| 180 | r := make(map[string]int64, len(d.Ingesters)) |
no outgoing calls
no test coverage detected