This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not expose ES ports locally during tests
Running the test targets (single-node-test, cluster-unicast-test) can sometimes lead to CI failures: https://devops-ci.elastic.co/view/Docker/job/elastic+elasticsearch-docker+5.0/21/console. This can happen when both targets are run simultaneously due to a conflict on the locally exposed port :9200. Remove local port references for ES in docker-compose.yml. This change doesn't affect the tests as the test container accesses ES through the docker network driver. Retain backwards compatibility for run-es(single|cluster) targets, by overriding the localhost port definitions with docker-compose.hostports.yml. This strategy is described in: docker/compose#2260 (comment)
- Loading branch information