Skip to content

Commit 4ab2f7f

Browse files
committed
Add CI health check
1 parent 63bc715 commit 4ab2f7f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
env:
2323
discovery.type: single-node
2424
xpack.security.enabled: false
25+
options: >-
26+
--health-cmd "curl -f http://localhost:9200/_cluster/health || exit 1"
27+
--health-interval 10s
28+
--health-timeout 5s
29+
--health-retries 20
2530
steps:
2631
- uses: actions/checkout@v6
2732
- name: Test

0 commit comments

Comments
 (0)