Skip to content
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

chore(deps): update testcontainers to v1.17.2 #243

Merged
merged 1 commit into from
May 25, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 19, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.testcontainers:spock (source) 1.16.3 -> 1.17.2 age adoption passing confidence
org.testcontainers:testcontainers (source) 1.16.3 -> 1.17.2 age adoption passing confidence

Release Notes

testcontainers/testcontainers-java

v1.17.2

Compare Source

What's Changed

While this release had a major focus on stability, we managed to optimize the startup sequence and it should make your tests even faster!

Here is what it takes to have a Redis up and running with Testcontainers, end-to-end from the test's start to an instance ready to be connected:
Before (1.17.1): 2.4s
Before (1.17.2): 1.7s 🚀

And here is just the "initialize Testcontainers" measurements:

Before (1.17.1): 1102ms
Before (1.17.2): 928ms

How we did it? We noticed that we can cache a couple of Docker responses, plus also removed now obsolete (yet expensive!) disk space check.

🚀 Features & Enhancements
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping
📦 Dependency updates

v1.17.1

Compare Source

What's Changed
🐛 Bug Fixes
📖 Documentation

v1.17.0

Compare Source

What's Changed

Highlights

This new version of Testcontainers comes packed with many new features and quality-of-life improvements, so we appropriately bumped the version to 1.17.0.

🐝 New Module: HiveMQ (#​4797) @​YannickWeber

Having started its Open Source life as its own 3rd-party Testcontainers library, we are very happy to welcome HiveMQ into the main repository.
Now, using HiveMQ as part of your integration tests is as simple as a couple of lines of Java code:

@​Container
HiveMQContainer hivemq = new HiveMQContainer(DockerImageName.parse("hivemq/hivemq-ce:2021.3"));
hivemq.start();

Mqtt5BlockingClient client = Mqtt5Client.builder()
    .serverPort(hivemqCe.getMqttPort())
    .serverHost(hivemqCe.getHost())
    .buildBlocking();

client.connect();

Check out the docs to learn more about its many features!

💀 Ryuk JVM mode (#​4959) (#​4960) @​bsideup

Many Testcontainers user love the convenience Ryuk brings to Testcontainers: No matter what you do in your integration tests, Ryuk has got you covered and will cleanup all Docker resources created by Testcontainers after your test run is finished.

But some users operate Testcontainers in environments which do not support our container-based Ryuk implementation. So far their only option was to disable Ryuk alltogether.

Coming with this release, Testcontainers will now fallback to a JVM based resource-cleanup implementation in case of Ryuk being disabled.
While this won't be as robust as the Ryuk container based implementation in all circumstances, it is nevertheless a great addition and acts as a useful compromise.

🚀 Features & Enhancements

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

Click to expand...

Configuration

📅 Schedule: "every weekend" in timezone Europe/Prague.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/testcontainers branch from 4dc3d12 to 303361b Compare May 19, 2022 22:28
@renovate renovate bot changed the title chore(deps): update testcontainers to v1.17.1 chore(deps): update testcontainers to v1.17.2 May 19, 2022
@renovate renovate bot force-pushed the renovate/testcontainers branch from 303361b to caa9c66 Compare May 24, 2022 08:53
@renovate renovate bot force-pushed the renovate/testcontainers branch from caa9c66 to 31406a6 Compare May 24, 2022 08:53
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@graemerocher graemerocher merged commit 83e036c into master May 25, 2022
@graemerocher graemerocher deleted the renovate/testcontainers branch May 25, 2022 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants