MCPcopy
hub / github.com/CodisLabs/codis / getGroup

Function getGroup

pkg/topom/topom_group_test.go:13–19  ·  view source on GitHub ↗
(t *Topom, gid int)

Source from the content-addressed store, hash-verified

11)
12
13func getGroup(t *Topom, gid int) *models.Group {
14 ctx, err := t.newContext()
15 assert.MustNoError(err)
16 g, err := ctx.getGroup(gid)
17 assert.MustNoError(err)
18 return g
19}
20
21func TestGroupCreate(x *testing.T) {
22 t := openTopom()

Callers 5

TestSlotActionFunction · 0.85
TestSyncActionFunction · 0.85
TestGroupCreateFunction · 0.85
TestGroupAddServerFunction · 0.85
TestGroupPromoteFunction · 0.85

Calls 2

getGroupMethod · 0.80
newContextMethod · 0.45

Tested by

no test coverage detected