zentol opened a new pull request #7057: [FLINK-10361][tests][ES] Properly wait 
for ES to start
URL: https://github.com/apache/flink/pull/7057
 
 
   ## What is the purpose of the change
   
   This PR fixes `elasticsearch-common.sh#wait_elasticsearch_working` not 
actually waiting for ES to start up.
   In light of the recent move towards `set -e` we no longer rely on the return 
code and instead grep the curl output for expected contents (the returned JSON 
contains a cluster_name field).
   If not present we continue looping.
   
   ## Verifying this change
   
   Locally verified by querying a bogus ports and ensuring that the test fails 
early.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to