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.
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();
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
... (truncated)
Commits
66e4be2 Fix StackOverflowError in DockerClientFactory#client (#5262)
cec4934 Update release docs to contain milestone rename step
af83569 Update images and theme for testcontainers.org (#5258)
17407ef Increase default client ping timeout from 5 to 10 seconds (#5254)
d93dcea Allow to create a file in container from a Transferable (#3814) (#3815)
c7449ed Elasticsearch: Ensure Elasticsearch 8 works OOTB secure as default (#5099)
53e80aa Fix incorrect path for RABBITMQ_CONFIG_FILE (#5184)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps testcontainers-bom from 1.16.3 to 1.17.1.
Release notes
Sourced from testcontainers-bom's releases.
... (truncated)
Commits
66e4be2
FixStackOverflowError
inDockerClientFactory#client
(#5262)cec4934
Update release docs to contain milestone rename stepaf83569
Update images and theme for testcontainers.org (#5258)17407ef
Increase default client ping timeout from 5 to 10 seconds (#5254)d93dcea
Allow to create a file in container from a Transferable (#3814) (#3815)c7449ed
Elasticsearch: Ensure Elasticsearch 8 works OOTB secure as default (#5099)53e80aa
Fix incorrect path for RABBITMQ_CONFIG_FILE (#5184)734678f
DeperecategetContainerIpAddress
(#5247)aed4476
Merge pull request #5248 from testcontainers/combined-pr-branchae6bc93
Merge remote-tracking branch 'origin/dependabot/github_actions/actions/checko...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)