ci: add more time to allow stop
This commit is contained in:
parent
a42403e046
commit
2df43f8b5f
|
@ -152,6 +152,7 @@ relup_test(){
|
||||||
cp "${PACKAGE_PATH}/${EMQX_NAME}"-*-"${TARGET_VERSION}-${ARCH}".zip ./emqx/releases
|
cp "${PACKAGE_PATH}/${EMQX_NAME}"-*-"${TARGET_VERSION}-${ARCH}".zip ./emqx/releases
|
||||||
./emqx/bin/emqx install "${TARGET_VERSION}"
|
./emqx/bin/emqx install "${TARGET_VERSION}"
|
||||||
[ "$(./emqx/bin/emqx versions |grep permanent | awk '{print $2}')" = "${TARGET_VERSION}" ] || exit 1
|
[ "$(./emqx/bin/emqx versions |grep permanent | awk '{print $2}')" = "${TARGET_VERSION}" ] || exit 1
|
||||||
|
export EMQX_WAIT_FOR_STOP=300
|
||||||
./emqx/bin/emqx_ctl status
|
./emqx/bin/emqx_ctl status
|
||||||
if ! ./emqx/bin/emqx stop; then
|
if ! ./emqx/bin/emqx stop; then
|
||||||
cat emqx/log/erlang.log.1 || true
|
cat emqx/log/erlang.log.1 || true
|
||||||
|
|
Loading…
Reference in New Issue