MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / GetTestBucket

Function GetTestBucket

base/util_testing.go:104–106  ·  view source on GitHub ↗

GetTestBucket returns a test bucket from a pool.

(t testing.TB)

Source from the content-addressed store, hash-verified

102
103// GetTestBucket returns a test bucket from a pool.
104func GetTestBucket(t testing.TB) *TestBucket {
105 return getTestBucket(t, false)
106}
107
108// getTestBucket returns a bucket from the bucket pool. Persistent flag determines behaviour for walrus
109// buckets only - Couchbase bucket behaviour is defined by the bucket pool readier/init.

Calls 1

getTestBucketFunction · 0.85