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.
Intermittently, when the `HiveMQContainer` is already running, our reused container fails to start with the following exception. ``` ... Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hiveMqContainer' defined in...
Closes: #2472 This PR adds support for `container_name` in the docker-compose file by pulling the container names out in `ParsedDockerComposeFile` and adding some additional logic in `DockerComposeContainer` This is my...
On a new MacBook with the M1 chip, I get an error when trying to start a container: ``` no suitable image found. Did find: /some/random/tmp/file: no matching architecture in...
Hi team, Trying to use TestContainers with Podman inside of a pod on AKS. Unfortunately, it fails to start any of the nested containers. Any idea how we can make...
Bumps [javassist](https://github.com/jboss-javassist/javassist) from 3.28.0-GA to 3.29.0-GA. Release notes Sourced from javassist's releases. Javassist 3.29.0-GA This release is a maintenance update. It includes GitHub Issue #378, PR #278, #299, #382, #383,...
Hello! The case is following: - testcontainers-java 1.14.3 - docker-compose.yml with services A, B, C - B depends on A - C depends on B and A - withLocalCompose(true) A...
Bumps solr-solrj from 8.11.1 to 9.0.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Iām using the `DockerComposeContainer` in a base class with Spring Boot. The docker compose file contains Kafka/Zookeeper (please don't ask why I'm not just using the `KafkaContainer` - I have...
``` 11:42:05.293 [Test worker] ERROR š³ [mysql:5.7.22] - Container log output (if any) will follow: 11:42:05.304 [tc-okhttp-stream-474827747] INFO š³ [mysql:5.7.22] - STDERR: 11:42:05.305 [tc-okhttp-stream-474827747] INFO š³ [mysql:5.7.22] - STDERR: ERROR:...
Code: ``` private static final ElasticsearchContainer container = new ElasticsearchContainer(IMAGE_NAME) .withCopyFileToContainer(MountableFile.forClasspathResource("elasticsearch-analysis-pinyin-7.5.1.zip"), "/") .withCommand("/usr/share/elasticsearch/bin/elasticsearch-plugin", "install", "file:////elasticsearch-analysis-pinyin-7.5.1.zip"); @BeforeClass public static void beforeClass() throws Exception { MountableFile mountableFile = MountableFile.forClasspathResource("elasticsearch-analysis-pinyin-7.5.1.zip"); System.out.println("file: ----" +...