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

Address Elasticsearch-related integration test failures caused by timeouts #35366

Merged
merged 2 commits into from
Aug 16, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,16 @@
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<ports>
<port>9200:9200</port>
Expand Down
10 changes: 10 additions & 0 deletions extensions/hibernate-search-orm-elasticsearch/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,16 @@
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<ports>
<port>9200:9200</port>
Expand Down
12 changes: 11 additions & 1 deletion integration-tests/elasticsearch-java-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,16 @@
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<ports>
<port>9200:9200</port>
Expand All @@ -188,7 +198,7 @@
<method>GET</method>
<status>200</status>
</http>
<time>20000</time>
<time>30000</time>
</wait>
</run>
</image>
Expand Down
10 changes: 10 additions & 0 deletions integration-tests/elasticsearch-rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,16 @@
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<ports>
<port>9200:9200</port>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,18 @@
and lead to problems on large disks with little space left.
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled> </env>
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<ports>
<port>9200:9200</port>
</ports>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,16 @@
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<ports>
<port>9200:9200</port>
Expand Down
10 changes: 10 additions & 0 deletions integration-tests/hibernate-search-orm-elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,16 @@
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<ports>
<port>9200:9200</port>
Expand Down
10 changes: 10 additions & 0 deletions integration-tests/logging-gelf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,16 @@
See https://www.elastic.co/guide/en/elasticsearch/reference/8.8/modules-cluster.html#disk-based-shard-allocation
-->
<cluster.routing.allocation.disk.threshold_enabled>false</cluster.routing.allocation.disk.threshold_enabled>
<!-- Disable some features that are not needed in our tests and just slow down startup -->
<xpack.profiling.enabled>false</xpack.profiling.enabled>
<xpack.monitoring.templates.enabled>false</xpack.monitoring.templates.enabled>
<xpack.ml.enabled>false</xpack.ml.enabled>
<xpack.watcher.enabled>false</xpack.watcher.enabled>
<xpack.ent_search.enabled>false</xpack.ent_search.enabled>
<stack.templates.enabled>false</stack.templates.enabled>
<cluster.deprecation_indexing.enabled>false</cluster.deprecation_indexing.enabled>
<indices.lifecycle.history_index_enabled>false</indices.lifecycle.history_index_enabled>
<slm.history_index_enabled>false</slm.history_index_enabled>
</env>
<log>
<prefix>Elasticsearch:</prefix>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ services:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
discovery.type: "single-node"
xpack.security.enabled: "false"
cluster.routing.allocation.disk.threshold_enabled: false
cluster.routing.allocation.disk.threshold_enabled: "false"
# Disable some features that are not needed in our tests and just slow down startup -->
xpack.profiling.enabled: "false"
xpack.monitoring.templates.enabled: "false"
xpack.ml.enabled: "false"
xpack.watcher.enabled: "false"
xpack.ent_search.enabled: "false"
stack.templates.enabled: "false"
cluster.deprecation_indexing.enabled: "false"
indices.lifecycle.history_index_enabled: "false"
slm.history_index_enabled: "false"
networks:
- efk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ services:
discovery.type: "single-node"
xpack.security.enabled: "false"
cluster.routing.allocation.disk.threshold_enabled: false
# Disable some features that are not needed in our tests and just slow down startup -->
xpack.profiling.enabled: "false"
xpack.monitoring.templates.enabled: "false"
xpack.ml.enabled: "false"
xpack.watcher.enabled: "false"
xpack.ent_search.enabled: "false"
stack.templates.enabled: "false"
cluster.deprecation_indexing.enabled: "false"
indices.lifecycle.history_index_enabled: "false"
slm.history_index_enabled: "false"
networks:
- elk

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ services:
discovery.type: "single-node"
xpack.security.enabled: "false"
cluster.routing.allocation.disk.threshold_enabled: false
# Disable some features that are not needed in our tests and just slow down startup -->
xpack.profiling.enabled: "false"
xpack.monitoring.templates.enabled: "false"
xpack.ml.enabled: "false"
xpack.watcher.enabled: "false"
xpack.ent_search.enabled: "false"
stack.templates.enabled: "false"
cluster.deprecation_indexing.enabled: "false"
indices.lifecycle.history_index_enabled: "false"
slm.history_index_enabled: "false"
networks:
- graylog

Expand Down
Loading