mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fix es wait logic during the performance tests (#135660)
This commit is contained in:
parent
76fa3f0ca6
commit
7db0773a0d
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ unset ELASTIC_APM_GLOBAL_LABELS
|
|||
export TEST_ES_URL=http://elastic:changeme@localhost:9200
|
||||
export TEST_ES_DISABLE_STARTUP=true
|
||||
|
||||
sleep 120
|
||||
# Pings the es server every seconds 2 mins until it is status is green
|
||||
curl --retry 120 \
|
||||
--retry-delay 1 \
|
||||
--retry-all-errors \
|
||||
-I -XGET "${TEST_ES_URL}/_cluster/health?wait_for_nodes=>=1&wait_for_status=yellow"
|
||||
|
||||
journeys=("login" "ecommerce_dashboard" "flight_dashboard" "web_logs_dashboard" "promotion_tracking_dashboard" "many_fields_discover")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue