diff --git a/.github/actions/launch-elasticsearch/action.yml b/.github/actions/launch-elasticsearch/action.yml index 2f3c344c6..546aab0bb 100644 --- a/.github/actions/launch-elasticsearch/action.yml +++ b/.github/actions/launch-elasticsearch/action.yml @@ -7,8 +7,8 @@ runs: - name: 'Launch elastic docker' shell: bash run: | - docker run -d -it -p 39227:9200 -p 39337:9300 -e "discovery.type=single-node" -v /home/runner/work/elastic4s/elastic4s/elastic4s-tests/src/test/resources/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml docker.elastic.co/elasticsearch/elasticsearch:8.15.3 + docker run -d -p 39227:9200 -p 39337:9300 -e "discovery.type=single-node" -v /home/runner/work/elastic4s/elastic4s/elastic4s-tests/src/test/resources/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml docker.elastic.co/elasticsearch/elasticsearch:8.15.3 - name: 'Wait for cluster to start' shell: bash run: | - curl -s -S --retry 30 --retry-delay 5 --retry-all-errors "localhost:39227/_cluster/health?wait_for_status=green&timeout=50s" + curl -s -S --retry 10 --retry-delay 5 --retry-all-errors "localhost:39227/_cluster/health?wait_for_status=green&timeout=50s"