Merge pull request #11644 from zhongwencool/ci-fixed
fix: telemetry ci failed
This commit is contained in:
commit
d92a93d4b3
|
@ -38,7 +38,16 @@ suite() ->
|
||||||
{repeat, 1}
|
{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) ->
|
init_per_suite(Config) ->
|
||||||
net_kernel:start(['master@127.0.0.1', longnames]),
|
net_kernel:start(['master@127.0.0.1', longnames]),
|
||||||
|
|
|
@ -40,7 +40,7 @@ check_api_docs() {
|
||||||
local status
|
local status
|
||||||
status="$(curl -s -o /dev/null -w "%{http_code}" "$url")"
|
status="$(curl -s -o /dev/null -w "%{http_code}" "$url")"
|
||||||
if [ "$status" != "200" ]; then
|
if [ "$status" != "200" ]; then
|
||||||
echo "emqx is not responding on $API_DOCS_URL"
|
echo "emqx return non-200 responses($status) on $url"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue