Merge pull request #11644 from zhongwencool/ci-fixed

fix: telemetry ci failed
This commit is contained in:
JianBo He 2023-09-21 15:23:34 +08:00 committed by GitHub
commit d92a93d4b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View File

@ -38,7 +38,16 @@ suite() ->
{repeat, 1}
].
apps() -> [emqx_conf, emqx_retainer, emqx_authn, emqx_authz, emqx_modules, emqx_telemetry].
apps() ->
[
emqx_conf,
emqx_management,
emqx_retainer,
emqx_authn,
emqx_authz,
emqx_modules,
emqx_telemetry
].
init_per_suite(Config) ->
net_kernel:start(['master@127.0.0.1', longnames]),

View File

@ -40,7 +40,7 @@ check_api_docs() {
local status
status="$(curl -s -o /dev/null -w "%{http_code}" "$url")"
if [ "$status" != "200" ]; then
echo "emqx is not responding on $API_DOCS_URL"
echo "emqx return non-200 responses($status) on $url"
exit 1
fi
}