MCPcopy
hub / github.com/grafana/dskit / TestCheckingOfKeyOwnership

Function TestCheckingOfKeyOwnership

ring/token_range_test.go:184–190  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

182}
183
184func TestCheckingOfKeyOwnership(t *testing.T) {
185 for _, randomize := range []bool{false, true} {
186 t.Run("TestCheckingOfKeyOwnership/randomizeInstanceStates="+strconv.FormatBool(randomize), func(t *testing.T) {
187 testCheckingOfKeyOwnership(t, randomize)
188 })
189 }
190}
191
192func testCheckingOfKeyOwnership(t *testing.T, randomizeInstanceStates bool) {
193 const instancesPerZone = 20

Callers

nothing calls this directly

Calls 2

RunMethod · 0.80

Tested by

no test coverage detected