(dbName string)
| 2455 | } |
| 2456 | |
| 2457 | func (sc *ServerContext) getBucketSpec(dbName string) base.BucketSpec { |
| 2458 | sc._databasesLock.RLock() |
| 2459 | defer sc._databasesLock.RUnlock() |
| 2460 | return sc._databases[dbName].BucketSpec |
| 2461 | } |
| 2462 | |
| 2463 | func (sc *ServerContext) suspendDatabase(t *testing.T, ctx context.Context, dbName string) error { |
| 2464 | sc._databasesLock.Lock() |