()
| 497 | } |
| 498 | |
| 499 | func testGetUser() *user { |
| 500 | u := &user{ |
| 501 | maxConcurrentQueries: 1, |
| 502 | queueCh: make(chan struct{}, 10000), |
| 503 | } |
| 504 | return u |
| 505 | } |
| 506 | |
| 507 | func testGetScope(c *cluster, u *user, cu *clusterUser, sessionId string) *scope { |
| 508 | s := &scope{id: newScopeID()} |