(t *testing.T, store kv.Client, key string)
| 408 | } |
| 409 | |
| 410 | func getPartitionRingFromStore(t *testing.T, store kv.Client, key string) *PartitionRingDesc { |
| 411 | in, err := store.Get(context.Background(), key) |
| 412 | require.NoError(t, err) |
| 413 | |
| 414 | return GetOrCreatePartitionRingDesc(in) |
| 415 | } |
| 416 | |
| 417 | func getPartitionStateFromStore(t *testing.T, store kv.Client, key string, partitionID int32) PartitionState { |
| 418 | partition, ok := getPartitionRingFromStore(t, store, key).GetPartitions()[partitionID] |
no test coverage detected