Skip to content

Commit d632238

Browse files
committed
fix: update Elasticsearch configuration for health checks
1 parent c080772 commit d632238

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/magento-compatibility.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@ jobs:
3434

3535
elasticsearch:
3636
image: elasticsearch:7.17.0
37-
ports:
38-
- 9200:9200
3937
env:
4038
discovery.type: single-node
41-
ES_JAVA_OPTS: -Xms512m -Xmx512m
42-
ES_SKIP_CGROUPS_CHECK: "true"
43-
options: --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
39+
JAVA_OPTS: "-Djdk.disableLastCgroup=true"
40+
options: --health-cmd="curl -s http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
4441

4542
steps:
4643
- name: Checkout code

0 commit comments

Comments
 (0)