-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couchbase: Update to latest version, add flushEnabled flag #4041
Conversation
@Gerschtli I hope you don't mind if I resolve the current merge conflicts! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple comments to update/reduce scope, but overall this looks good to me!
modules/couchbase/src/main/java/org/testcontainers/couchbase/CouchbaseContainer.java
Outdated
Show resolved
Hide resolved
0ecfcea
to
c882cd1
Compare
I removed the community support out of this PR. When this PR is merged, I can open a follow up PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good overall, just one more thing I spotted.
modules/couchbase/src/test/java/org/testcontainers/couchbase/CouchbaseContainerTest.java
Show resolved
Hide resolved
c882cd1
to
1c50487
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you @Gerschtli, and thanks @daschl for your help with this!
Follow up PR for community support: #4221 |
Hey folks,
for easier usage for any new user of couchbase I upgraded the couchbase library, so that the snippets in the documentation are up-to-date and simply work :)
Furthermore, I added support for the
flushEnabled
flag for buckets. Pretty handy option to simplify usage in tests for easier cleanup.Lastly, I added a
communityMode
which changes when enabled thestorageMode
for indexes toforestdb
(the only supported mode for community edition).Thank you all for this great project!