Skip to content

Upgrade to Testcontainers 1.14.0 #20936

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

Closed

Conversation

dreis2211
Copy link
Contributor

@dreis2211 dreis2211 commented Apr 14, 2020

Hi,

this PR upgrades Testcontainers to version 1.14.0 and replaces the temporary copy of the CouchbaseContainer as it should support SDK 3 now.

Let me know what you think.

Cheers,
Christoph

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 14, 2020
@snicoll
Copy link
Member

snicoll commented Apr 14, 2020

Very very nice. Thank you @dreis2211!

@snicoll snicoll added type: dependency-upgrade A dependency upgrade and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 14, 2020
@snicoll snicoll added this to the 2.3.0.RC1 milestone Apr 14, 2020
@snicoll snicoll self-assigned this Apr 14, 2020
snicoll pushed a commit that referenced this pull request Apr 15, 2020
@snicoll snicoll closed this in c6a55a5 Apr 15, 2020
.withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10))
.withNewBucket(BucketSettings.create(BUCKET_NAME));
.withBucket(new BucketDefinition(BUCKET_NAME));

private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snicoll FYI "spring.couchbase.connection-string:localhost:" + couchbase.getMappedPort(11210) isn't entirely correct.

Consider using "spring.couchbase.connection-string:" + couchbase.getConnectionString() (takes getContainerIpAddress() into consideration).

And, if more services are tested, the environment needs to be configured:
https://www.testcontainers.org/modules/databases/couchbase/#usage-example

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that's good to know, I've polished that in 04544f9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade A dependency upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants