aljoscha opened a new pull request #14096:
URL: https://github.com/apache/flink/pull/14096
This should harden the tests because we now use random ports for the ES
nodes. I have a suspicion that we had clashes before, which were causing
test instability.
Additionally, this allows us to get rid of quite some of our own code
for setting up an ES environment. Once we drop ES5 we can additionally
drop `ElasticsearchResource` and `EmbeddedElasticsearchNodeEnvironment`.
## Brief change log
- replace use of `ElasticsearchResource` by testcontainers
- we cannot do that for ES 5 because there is no docker container for it
## Verifying this change
Covered by existing tests.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
- The S3 file system connector: no
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]