Comments (3)
Hi @developerdenesh, Elasticsearch 8 is secured by default. So, you can try adding withEnv("xpack.security.enabled", "false")
, so, it can behaves as Elasticsearch 7
from testcontainers-java.
Thanks for the suggestion above, I have added the withEnv and the pipeline works up to elasticsearch docker image 8.13.4
from testcontainers-java.
I just saw the log message
2024-05-15T14:02:07.236Z INFO 174 --- [demo] [ Test worker] t.d.e.c.13.4 : Container docker.elastic.co/elasticsearch/elasticsearch:8.13.4 started in PT35.790303347S
So, the container is initialized correctly in gitlab runner, so there is no issue with container initialization at all. I have run this test with version 8.13.1 and runs ok locally, you can also take a look at the test to see if something is missing.
from testcontainers-java.
Related Issues (20)
- [Bug]: Error after updating to kafka 1.19.8 from 1.19.1 HOT 1
- [Bug]: Out-of-the-box ClickHouseContainer throws SQLException on start with Log4j HOT 2
- [Bug]: Docker communication error using DOCKER_HOST localhost (1.17+)
- [Bug]: init script UTF8 conversion breaks encoding used in database when not in UTF8
- [Bug]: Startup Timeout is not Respected HOT 1
- [Bug]: Error running on MySQL 8.4 HOT 2
- [Enhancement]: Add example test to the K6 module docs
- [Bug]: Docker Client protocol magically changed from tcp to http in oracle-xe
- [Bug]: LocalStackContainer is not reused after test when withReuse is true (similar to #7097) HOT 1
- Add getR2dbcUrl helper method to JdbcDatabaseContainer HOT 2
- [Bug]: `NoClassDefFoundError: org.apache.commons.codec.Charsets` error on upgrading commons-compress from 1.25.0 to 1.26.0 HOT 2
- [Bug]: cannot create network ... : conflicts with network ... : networks have overlapping IPv4 HOT 7
- [Bug]: withReuse(true) does not reuse previously spun container HOT 1
- [Enhancement]: Containers declared with @Container can not depend od each other mapped ports using method withEnv(). Use Supplier<String> for env values
- [Bug]: Can't use MariaDB root user. HOT 3
- [Enhancement]: Allow configuration of what files are copied into the container for docker compose
- [Bug]: Elasticsearch: Incorrectly detected OSS image HOT 3
- [Bug]: Finalizing JUnit 5 test case with Kafka Streams and Spring Boot takes several minutes HOT 8
- GenericContainer withFileSystemBind: creates a root owned directory/file
- [Feature]: GCLOUD pubsub emulator automatic project/topic/sub creation on startup HOT 3
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.