Comments (2)
@eddumelendez yes i did, but those are unrelated to my point and the Exception occours before the Startup Check Strategies play a role.
Let's take the PostgreSQLContainer as an example and an integration test to test some app with a real Postgres database. When running the test locally on a dev laptop right from the IDE, one might need to expose port 5432 (directly or mapped) so the app can access the database. PostgreSQLContainer exposes that port by default. This same test will not work in a CI environment, where the container runtime does not need exposed ports. I think Testcontainers should abstract from those network specifics so the user does not have to write two flavours of his test, one with exposed ports and one without.
from testcontainers-java.
Have you checked Startup Check Strategies? Testcontainers has a lot of examples using those without exposed ports being declared.
from testcontainers-java.
Related Issues (20)
- [Feature]: Support custom "reuse hash" in GenericContainer HOT 5
- [Enhancement]: Make the .testcontainer.properties follow the XDG Base Directory specification HOT 3
- [Bug]: Many custom variables do not take effect when using custom configurations HOT 1
- [Bug]: JDBC host-less URI (///) are not parsed correctly
- [Feature]: Add consumer for logging into file
- [Bug]: Containers not shut down between tests when using .withReuse(true) but env. does not support reuse HOT 2
- [Bug]: CosmosDBEmulatorContainer 'EOFException: SSL peer shut down incorrectly' when building keystore HOT 8
- [Bug]: Vulnerable dependency commons-compress 1.24.0 HOT 3
- [Enhancement]: Add OpenFGAContainer
- [Bug]: Building a container when running inside another one with mounted socket is not possible
- [Feature]: Document and provide tooling for running testcontainers from windows (ie: intellij) using docker ce on wsl without desktop
- [Enhancement]: use official kafka image HOT 3
- [Enhancement]: clickhouse should be supported by r2dbc
- [Enhancement]: Proposal to Upgrade Alpine Version in DockerClientFactory.java due to Impending EOL
- [Bug]: Cannot run redpanda testcontainer with podman HOT 1
- [Bug]: Can't connect to Ryuk possibly due to some strange docker network interaction.
- [Bug]: Unexpected exit of vnc-recorder when closing pop-ups on MacOS
- [Bug]: Docker Image Pulls Have No Interval between failed attempts
- [Bug]: DockerComposeContainer: Stop exception when variable substitution is used in compose file HOT 1
- [Enhancement]: Support new Weaviate container registry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testcontainers-java.