testcontainers-java
testcontainers-java copied to clipboard
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
I'm using `org.testcontainers:postgresql:1.11.3` dependency and it has no `Automatic-Module-Name` manifest attribute. It leads to module name conflict, as module name for the dependency is just `postgres`. Please add this attribute...
#2314 brought support for selecting a container based on the service name when using docker-compose (thanks 🙌 !). However, the value it expects contains the "container number" (e.g. `service_1`), instead...
I just updated to testcontainers 1.16.2 with new OracleContainer setup. Before I could use a initScript to create tablespaces, but now I'm not able to use system user anymore. The...
Reference: https://issues.apache.org/jira/browse/INFRA-22697 Apparently testcontainers requires $HOME/.docker/config.json to be a valid JSON file. ``` touch ~/.docker/config.json // lauch some test containers tests will now fail echo '{}' > ~/.docker/config.json // lauch...
I use the following code to start a container: ``` private class CustomOracleContainer extends GenericContainer[CustomOracleContainer]( DockerImageName.parse("mycompany/oracle:enterprise-19.14.0-preloaded-20220120-27-36701e3") ) private val oracleContainer: CustomOracleContainer = new CustomOracleContainer() .withExposedPorts(1521) .withNetworkMode("host") .waitingFor(Wait.forLogMessage("DATABASE IS READY TO...
When running testcontainer based test within another container (vscode devcontainer) Tests that executed flawlessly on 1.15.3 now fail attempting to start the compose configuration java.lang.IllegalStateException: Could not connect to Ryuk...
Hi, I'm not sure when this change happened but it seems one of the latest docker-compose desktop version changed the suffix naming pattern for services from `_1` to `-1` This...
`org.junit.platform.commons.util` is an internal package (see [module-info.java](https://github.com/junit-team/junit5/blob/main/junit-platform-commons/src/module/org.junit.platform.commons/module-info.java)). The compiler only knows about this if you compile as Java Module - which testcontainers does not do (yet? - #1523 / #521)....
Hi Starting since Kafka 2.8 Zookeeper is now an optional component because Kafka node can act as an active controller (new "process.roles" property). However I see from the code (configure...
Fixes #914 #4952 Forces Directory/File to have the `Others` permission set (755 for Dir, 644 for Files), to avoid `umask` issues