TestContainers v1.7.0 Release Notes
Release Date: 2018-04-07 // about 6 years ago-
๐ Fixed
- ๐ Fixed extraneous insertion of
useSSL=false
in all JDBC URL strings, even for DBs that do not understand it. Usage is now restricted to MySQL by default and can be overridden by authors ofJdbcDatabaseContainer
subclasses (#568) - ๐ Fixed
getServicePort
onDockerComposeContainer
throws NullPointerException if service instance number in not used. (#619) - ๐ง Increase Ryuk's timeout and make it configurable with
ryuk.container.timeout
. (#621#635)
๐ Changed
- โ Added compatibility with selenium greater than 3.X (#611)
- โ Abstracted and changed database init script functionality to support use of SQL-like scripts with non-JDBC connections. (#551)
- โ Added
JdbcDatabaseContainer(Future)
constructor. (#543) - ๐ณ Mark DockerMachineClientProviderStrategy as not persistable (#593)
- โ Added
waitingFor(String serviceName, WaitStrategy waitStrategy)
and overloadedwithExposedService()
methods toDockerComposeContainer
to allow user to defineWaitStrategy
for compose containers. (#174, #515 and (#600)) - โ
Deprecated
WaitStrategy
and implementations in favour of classes with same names inorg.testcontainers.containers.strategy
(#600) - โ Added
ContainerState
interface representing the state of a started container (#600) - โ Added
WaitStrategyTarget
interface which is the target of the newWaitStrategy
(#600) - ๐ฅ Breaking: Removed hard-coded
wnameless
Oracle database image name. Users should instead place a file on the classpath namedtestcontainers.properties
containingoracle.container.image=IMAGE
, where IMAGE is a suitable image name and tag/SHA hash. For information, the approach recommended by Oracle for creating an Oracle XE docker image is described here. - โ Added
DockerHealthcheckWaitStrategy
that is based on Docker's built-in healthcheck (#618). - โ Added
withLogConsumer(String serviceName, Consumer<OutputFrame> consumer)
method toDockerComposeContainer
(#605) - โ Added
withFixedExposedPort(int hostPort, int containerPort, InternetProtocol protocol)
method toFixedHostPortGenericContainer
andaddFixedExposedPort(int hostPort, int containerPort, InternetProtocol protocol)
toGenericContainer
(#586)
- ๐ Fixed extraneous insertion of