(d interface{}, id string)
| 79 | } |
| 80 | |
| 81 | func checkNormalised(d interface{}, id string) bool { |
| 82 | desc, ok := d.(*Desc) |
| 83 | return ok && |
| 84 | len(desc.Ingesters) == 1 && |
| 85 | desc.Ingesters[id].State == ACTIVE && |
| 86 | len(desc.Ingesters[id].Tokens) == 1 |
| 87 | } |
| 88 | |
| 89 | func TestLifecyclerConfig_Validate(t *testing.T) { |
| 90 | t.Parallel() |
no outgoing calls
no test coverage detected