chore: fix status test error
This commit is contained in:
parent
dee92bb8b8
commit
966b508c6f
|
@ -142,14 +142,14 @@ spec:
|
|||
{{- end }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v5/status
|
||||
path: /status
|
||||
port: {{ .Values.emqxConfig.EMQX_DASHBOARD__LISTENER__HTTP | default 18083 }}
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
failureThreshold: 30
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v5/status
|
||||
path: /status
|
||||
port: {{ .Values.emqxConfig.EMQX_DASHBOARD__LISTENER__HTTP | default 18083 }}
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 30
|
||||
|
|
|
@ -103,7 +103,7 @@ emqx_test(){
|
|||
exit 1
|
||||
fi
|
||||
IDLE_TIME=0
|
||||
while ! curl http://127.0.0.1:18083/api/v5/status >/dev/null 2>&1; do
|
||||
while ! curl http://127.0.0.1:18083/status >/dev/null 2>&1; do
|
||||
if [ $IDLE_TIME -gt 10 ]
|
||||
then
|
||||
echo "emqx running error"
|
||||
|
@ -197,7 +197,7 @@ EOF
|
|||
exit 1
|
||||
fi
|
||||
IDLE_TIME=0
|
||||
while ! curl http://127.0.0.1:18083/api/v5/status >/dev/null 2>&1; do
|
||||
while ! curl http://127.0.0.1:18083/status >/dev/null 2>&1; do
|
||||
if [ $IDLE_TIME -gt 10 ]
|
||||
then
|
||||
echo "emqx running error"
|
||||
|
|
Loading…
Reference in New Issue