GetTestBucket returns a test bucket from a pool.
(t testing.TB)
| 102 | |
| 103 | // GetTestBucket returns a test bucket from a pool. |
| 104 | func 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. |