Details
-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
None
Description
createIfMissing allows to throw an exception if the requested bucket is missing.
bucketSample is a shortcut to:
- createIfMissing false
- adhoc false
- flushOnInit false
- bucketName = sampleBucketName
- bucketPassword = ""
This is useful for tests that use a sample bucket when said sample hasn't been loaded (as otherwise an empty bucket would be created and the tests would fail due to expecting documents in there).
Attachments
For Gerrit Dashboard: JCBC-988 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
66087,3 | JCBC-988: Add createBucketIfMissing, sampleBucket | master | couchbase-java-client | Status: MERGED | +2 | +1 |