cope with odd 404 errors on /_cat/indices (#31375)
This commit is contained in:
@@ -108,8 +108,11 @@ jobs:
|
||||
|
||||
- name: Check created indexes and aliases
|
||||
run: |
|
||||
curl --fail --retry-connrefused --retry 5 ${{ env.ELASTICSEARCH_URL }}/_cat/indices?v
|
||||
curl --fail --retry-connrefused --retry 5 ${{ env.ELASTICSEARCH_URL }}/_cat/indices?v
|
||||
# Not using `--fail` here because I've observed that it can fail
|
||||
# with a rather cryptic 404 error when it should, if anything, be
|
||||
# a 200 OK with a list of no indices.
|
||||
curl --retry-connrefused --retry 5 ${{ env.ELASTICSEARCH_URL }}/_cat/indices?v
|
||||
curl --retry-connrefused --retry 5 ${{ env.ELASTICSEARCH_URL }}/_cat/indices?v
|
||||
|
||||
- name: Send Slack notification if workflow fails
|
||||
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
|
||||
|
||||
Reference in New Issue
Block a user