Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
120 views

I’m trying a local Testcontainers setup for PostgreSQL. The container starts, and I get a mapped localhost port, but connecting with SQLAlchemy + asyncpg times out. import asyncio from sqlalchemy ...
minhle_r7's user avatar
  • 880
Best practices
0 votes
4 replies
133 views

I want to know what is the best practice for defining Testcontainers in Spring Boot. I saw different Versions on how to define them. @TestConfiguration(proxyBeanMethods = false) class ...
Kevin's user avatar
  • 850
-1 votes
1 answer
109 views

I'm just getting started with Docker and using TestContainers for a personal C# & MongoDB project for some integration & database testing, but I'm having a hard time getting it working ...
Surfdaweb's user avatar
1 vote
1 answer
102 views

I'm trying to test embedded Lua script in an Istio resource as part of a Java integration test. Normally when I test Istio I deploy Istio and various applications to live Kubernetes environment and ...
bobmarksie's user avatar
  • 3,708
1 vote
1 answer
193 views

Spring-boot application with liquibase managed postgres DB, trying to get @DataJpaTest working with Testcontainers. The tests work in general - I can launch it, liquibase initialises the DB, and I can ...
UncleBob's user avatar
  • 1,423
1 vote
1 answer
143 views

I have an application that has a Spring Data JPA repository that uses a local database and a read-only repository that uses JdbcTemplate to access a remote, read-only database. Both are configured ...
Charlie's user avatar
  • 21
4 votes
1 answer
3k views

Why am I suddenly encountering this error when running the repository tests locally? 2025-12-15 21:59:28 [ZScheduler-Worker-11] ERROR o.t.d.DockerClientProviderStrategy - Could not find a valid Docker ...
ujjaldey's user avatar
  • 471
0 votes
1 answer
89 views

I am trying to use TestContainers library to easy my integration testing and I need to create a MySql container for this matter and this is my code: public sealed class MySqlContainerProvider : ...
Navid_pdp11's user avatar
  • 4,184
2 votes
2 answers
96 views

I have a very simple example: the entity uses TEXT column and the test fails because of it, despite using PostgreSQL testcontainer: application-test.properties spring.datasource.url=jdbc:postgresql://...
parsecer's user avatar
  • 5,271
0 votes
1 answer
58 views

Title - MongoTimeoutException in Testcontainers Integration Test : Open Liberty app attempts to connect to Kubernetes FQDNs instead of local alias I am writing integration tests for an Open Liberty-...
VR7's user avatar
  • 112
0 votes
1 answer
62 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
0 votes
1 answer
115 views

I am running an IntegrationTest using TestContainers version 1.21.3 on a rootless podman setup. On Startup a GenericContainer is running an assertion that asserts that the ports exposed post container ...
Kiran K's user avatar
  • 778
Advice
0 votes
0 replies
33 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
88 votes
13 answers
78k views

I've been successfully using TestContainers with Docker for quite a while now. All of a sudden today, I started getting this error: UnixSocketClientProviderStrategy: failed with exception ...
Stewart's user avatar
  • 19.5k
0 votes
1 answer
84 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,888

15 30 50 per page
1
2 3 4 5
79