(t *testing.T, ctx context.Context, dbName string)
| 2461 | } |
| 2462 | |
| 2463 | func (sc *ServerContext) suspendDatabase(t *testing.T, ctx context.Context, dbName string) error { |
| 2464 | sc._databasesLock.Lock() |
| 2465 | defer sc._databasesLock.Unlock() |
| 2466 | |
| 2467 | return sc._suspendDatabase(ctx, dbName) |
| 2468 | } |
| 2469 | |
| 2470 | // getRESTkeyspace returns a keyspace for REST URIs |
| 2471 | func getRESTKeyspace(_ testing.TB, dbName string, collection *db.DatabaseCollection) string { |