MCPcopy
hub / github.com/redis/go-redis / newClusterScenario

Function newClusterScenario

bench_test.go:493–499  ·  view source on GitHub ↗

------------------------------------------------------------------------------

()

Source from the content-addressed store, hash-verified

491//------------------------------------------------------------------------------
492
493func newClusterScenario() *clusterScenario {
494 return &clusterScenario{
495 ports: []string{"16600", "16601", "16602", "16603", "16604", "16605"},
496 nodeIDs: make([]string, 6),
497 clients: make(map[string]*redis.Client, 6),
498 }
499}
500
501var clusterBench *clusterScenario
502

Callers 3

BenchmarkClusterPingFunction · 0.85
BenchmarkClusterDoIntFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected