MCPcopy Create free account
hub / github.com/cortexproject/cortex / generateTenant

Function generateTenant

pkg/scheduler/queue/user_queues_test.go:494–496  ·  view source on GitHub ↗
(r *rand.Rand)

Source from the content-addressed store, hash-verified

492}
493
494func generateTenant(r *rand.Rand) string {
495 return fmt.Sprint("tenant-", r.Int()%5)
496}
497
498func generateQuerier(r *rand.Rand) string {
499 return fmt.Sprint("querier-", r.Int()%5)

Callers 1

TestQueuesConsistencyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected