(gid int, tg *TestGroup)
| 37 | } |
| 38 | |
| 39 | func (tc *BasicIncrTestCase) player(gid int, tg *TestGroup) { |
| 40 | tg.PlayerWait() |
| 41 | defer tg.PlayerDone() |
| 42 | c := NewConn(tc.proxy) |
| 43 | defer c.Close() |
| 44 | u := NewUnit(fmt.Sprintf("basic_incr_%d_tag{%s}", gid, NewZeroTag())) |
| 45 | u.Del(c, false) |
| 46 | for i := 0; i < tc.round; i++ { |
| 47 | u.Incr(c) |
| 48 | ops.Incr() |
| 49 | } |
| 50 | u.Del(c, true) |
| 51 | } |
no test coverage detected