Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

Description I am using a test Postgres container (from testcontainers) for more accurate integration tests. To prevent repeating code, I want to use my existing SQL migration files to setup the ...
rc07jnr's user avatar
  • 67
Advice
0 votes
0 replies
25 views

My current employer is a bank. They have some security products installed on the assigned macbooks: Crowdstrike falcon zscaler ms defender I am not sure what else is installed. I have used ...
user3465651's user avatar
0 votes
1 answer
59 views

I am trying to create multiple containers using testcontainers lib which are sharing the same Network. What do I have right now is the following: network = Network.newNetwork(); container1 = new ...
user1234SI.'s user avatar
  • 1,878
1 vote
1 answer
57 views

I am trying to create a container with oracle db to run tests. Due to some restrictions, I have to use rootless podman instead of docker. Here is how I do it: def _container_env_kwargs() -> dict: ...
Muslimbek Abduganiev's user avatar
1 vote
1 answer
58 views

Each time my Quarkus app restarts it has a different Postgres port. There is testcontainers.reuse.enable=false in the ~/.testcontainers.properties. MacOS, run from Idea.
Dmitry's user avatar
  • 759
0 votes
0 answers
41 views

Here is part of my test: @MicronautTest(startApplication = false) @Testcontainers(disabledWithoutDocker = true) class AggMapperIT : TestPropertyProvider { @Inject lateinit var aggMapper: ...
Alex Bondar's user avatar
1 vote
0 answers
39 views

I have a SpringBoot app and I have added JUnit5 integration tests that use testcontainers: class ControllerClassTest extends AbstractIntegrationTest { @ParameterizedTest(name = "{0}") ...
bash UI's user avatar
  • 11
0 votes
0 answers
70 views

I'm creating a new project with Keycloak and .NET Core 9. I've managed to get it working with my application, but I need to make it work with my integration tests. To integrate authorization and ...
BrePi's user avatar
  • 49
0 votes
0 answers
43 views

When testing s3ControlClient.createAccessPoint(request); I am getting a NPE due to the underlying URL having the default accountId + localhost as the URI. This AWS toolkit cannot identify a host and ...
Gunther Jones's user avatar
0 votes
2 answers
130 views

Error Log: Standard Output Messages: [testcontainers.org 00:00:03.98] Reuse is an experimental feature. For more information, visit: https://dotnet.testcontainers.org/api/resource_reuse/ -> warning:...
Raisus's user avatar
  • 187
0 votes
1 answer
350 views

I am using Java 21 and Spring Boot 3.3.3, and starting a test container with Oracle DB in my integration tests like this: build.gradle: testImplementation "org.testcontainers:oracle-free:1.20.1&...
Georgii Lvov's user avatar
  • 3,805
1 vote
0 answers
85 views

I am trying to improve and generalize my develop setup with Dev Containers + Podman + Test Containers. I am running into some permission issues though. Specifically, running test container tests in a ...
crosleyzack's user avatar
0 votes
1 answer
87 views

I managed to run YDB in testContainers, but it looks impossible to establish a connection for query, because of discovery mode. My client establishes a connection to ydb inside a testContainer(in ...
Aleksandr Molev's user avatar
1 vote
1 answer
110 views

How do I check the DB state in an integration test? Is injecting a JdbcTemplate the only option? For example, you test a PATCH that, if successful, should update certain table cells. I can't use a ...
Sergey Zolotarev's user avatar
2 votes
1 answer
82 views

I'm facing a problem where one of my integration tests affects the other. For example this delete test: class DeleteCustomerIntegrationTest extends AbstractConfigurationTest { @Test void ...
vrz-dev's user avatar
  • 31
1 vote
1 answer
100 views

I am writing integration tests in which I use testcontainers with keycloak 24.0.5. I want to enable totp for the admin realm. It's easy to set this setting in the GUI but I need to set it ...
user avatar
0 votes
0 answers
55 views

I ran a sample quarkus project. Did some modification and ran the test that existed with the project, I realized that after running tests from either intellij or mvn quarkus:test application.yml ...
Ed .d's user avatar
  • 23
0 votes
1 answer
80 views

I have multiple test classes that use the mongo test container. Instead of declaring a container using the same code multiple times, I wanted to create a test configuration, to avoid repetitive code. ...
Feldmarshall's user avatar
1 vote
1 answer
187 views

Can anyone using DBRider / Test Container in spring boot give advice ? I've been using DBRider/Testcontainer without any issue, but at some point , it doesn't work out. It seesm ...
Tony Lim's user avatar
1 vote
0 answers
42 views

I'm trying to write integration tests for my java application using testcontainers (version 1.20.6). I'm working on a windows (without Docker Desktop on windows, I cannot use it). I want to test my ...
Sun864's user avatar
  • 11
0 votes
0 answers
47 views

I have a Spring Boot 3.4.2 app, which has several databases and services configured, including MongoDB. There are 2 connections to MongoDB, each with their own credentials and database they access. ...
Stewart's user avatar
  • 18.8k
0 votes
0 answers
96 views

I'm spinning up a WebApplicationFactory against our main API's Program.cs, mocking out services as needed, and then calling several integration tests against different endpoints. For the database, we'...
The Lemon's user avatar
  • 1,467
-2 votes
1 answer
131 views

First, if this question is duplicated, please forgive me. I'm trying to create an integration test with kafka and testcontainers, and i'm facing the problem that my kafka config (i suspect) is not ...
Pabloch's user avatar
  • 15
0 votes
0 answers
29 views

I'm trying to setup an Elasticsearch TestContainer that uses the mapper size plugin. I'm unsure how to go about this, particularly since the documentation notes that all Elasticsearch nodes must be ...
Andy Nguyen's user avatar
0 votes
1 answer
189 views

I wanted to add integration tests for my spring cloud gateway. I found test containers and using that I spin up two services, keycloak container and gateway. Now I can already get the access token ...
isaeed's user avatar
  • 15

1
2 3 4 5
24