Explorar o código

ci: add more time to allow stop

Zaiming (Stone) Shi %!s(int64=4) %!d(string=hai) anos
pai
achega
2df43f8b5f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      .ci/build_packages/tests.sh

+ 1 - 0
.ci/build_packages/tests.sh

@@ -152,6 +152,7 @@ relup_test(){
                 cp "${PACKAGE_PATH}/${EMQX_NAME}"-*-"${TARGET_VERSION}-${ARCH}".zip ./emqx/releases
                 ./emqx/bin/emqx install "${TARGET_VERSION}"
                 [ "$(./emqx/bin/emqx versions |grep permanent | awk '{print $2}')" = "${TARGET_VERSION}" ] || exit 1
+                export EMQX_WAIT_FOR_STOP=300
                 ./emqx/bin/emqx_ctl status
                 if ! ./emqx/bin/emqx stop; then
                     cat emqx/log/erlang.log.1 || true