Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional test in HasParentTest intermittently fails due to a lack in ES configuration #1306

Merged
merged 1 commit into from
May 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
- bootstrap.memory_lock=true
- network.host=172.18.0.4
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
Expand All @@ -44,6 +45,7 @@ services:
- bootstrap.memory_lock=true
- network.host=172.18.0.3
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
Expand Down
5 changes: 5 additions & 0 deletions env/elasticsearch/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ network.host: 0.0.0.0
discovery.zen.minimum_master_nodes: 2
discovery.zen.ping.unicast.hosts: ["elasticsearch"]

# at the moment it's not possible to remove the x-pack plugin from the official ES docker image
# https://github.com/elastic/elasticsearch-docker/issues/36
# they've solved on 5.4, I will wait that version to remove the plugin correctly
# and remove the following two lines
xpack.security.enabled: false
xpack.monitoring.enabled: false

# Added for snapshot tests
path.repo: ["/usr/share/elasticsearch/data"]
Expand Down