forked from wazuh/wazuh-docker
Modify sleep time for count documents
This commit is contained in:
@@ -214,8 +214,8 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 30s"
|
echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 60s"
|
||||||
[ $i -lt 10 ] && sleep 30
|
[ $i -lt 10 ] && sleep 60
|
||||||
done
|
done
|
||||||
echo "Error: No documents found in wazuh-states after 10 attempts."
|
echo "Error: No documents found in wazuh-states after 10 attempts."
|
||||||
echo "Last response: $RESPONSE"
|
echo "Last response: $RESPONSE"
|
||||||
@@ -445,8 +445,8 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 30s"
|
echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 60s"
|
||||||
[ $i -lt 10 ] && sleep 30
|
[ $i -lt 10 ] && sleep 60
|
||||||
done
|
done
|
||||||
echo "Error: No documents found in wazuh-states after 10 attempts."
|
echo "Error: No documents found in wazuh-states after 10 attempts."
|
||||||
echo "Last response: $RESPONSE"
|
echo "Last response: $RESPONSE"
|
||||||
|
|||||||
Reference in New Issue
Block a user