testcontainers-junit5 Questions

5

I have a docker image called myImageName:latest, which I use in my application. I want to write an integration test for my application, therefore I want to use the TestContainer package. When I run...
Winebibber asked 12/5, 2021 at 15:2

4

I have two spring boot projects both with the same JDK and running on the same machine (apple m1). The first project is just a dummy project with just testcontainer dependency in it. While the seco...
Colous asked 16/2, 2022 at 11:58

1

I got "ContainerLaunchException: Timed out waiting for log output matching" when starting testcontainer for elasticserach. How should I fix this issue? container = new ElasticsearchContai...

3

Solved

I'm using testcontainer version 1.15.2. Tests are run in intellij on windows 10. I have a wiremock container. By default it listens on the port 8080. I would like to map this port to let's say 8081...

5

Solved

Is it possible to use Testcontainers with Podman in Java tests? As of March 2022, the Testcontainers library doesn't detect an installed Podman as a valid Docker environment. Can Podman be a ...
Holo asked 20/3, 2022 at 19:12

2

Solved

I'm setting up integration tests in a sample spring boot kotlin project, using testcontainers:mongodb. I've set up a MongoDBContaine, and everything works as expected - the app connects to the mong...

2

Solved

I have multiple test classes running the same docker-compose with testcontainer. The suite fails with initializationError although each test passes when performed separately. Here is the relevant p...
Leopold asked 18/2, 2021 at 11:33

3

Solved

I'm using testcontainer in my oss software but i think there is a problem in my configurations or in the docker/testcontainer runtime... I have some tests and when they are running separated, every...

0

I am getting issues with running integration tests (using JUnit5) of my micronaut app on my Windows 10 Pro machine. My tests depend on two containers, that I defined using Testcontainers java libra...
1

© 2022 - 2024 — McMap. All rights reserved.