[Test] Change Elasticsearch startup timeout to 120s in packaging tests
When the vagrant box is very very slow, the elasticsearch service can take more than 60 sec to start. This commit changes the timeout to 120. closes #27372
This commit is contained in:
parent
c42899b27e
commit
0b5899c647
|
@ -417,7 +417,7 @@ wait_for_elasticsearch_status() {
|
|||
local index=$2
|
||||
|
||||
echo "Making sure elasticsearch is up..."
|
||||
wget -O - --retry-connrefused --waitretry=1 --timeout=60 --tries 60 http://localhost:9200/_cluster/health || {
|
||||
wget -O - --retry-connrefused --waitretry=1 --timeout=120 --tries 120 http://localhost:9200/_cluster/health || {
|
||||
echo "Looks like elasticsearch never started. Here is its log:"
|
||||
if [ -e "$ESLOG/elasticsearch.log" ]; then
|
||||
cat "$ESLOG/elasticsearch.log"
|
||||
|
|
Loading…
Reference in New Issue