rabbitmq_ct_client_helpers: fix dialyzer on OTP28
This commit is contained in:
parent
8273c500c4
commit
3aa99a9843
|
@ -5,7 +5,7 @@ DEPS = rabbit_common rabbitmq_ct_helpers amqp_client
|
||||||
|
|
||||||
DEP_PLUGINS = rabbit_common/mk/rabbitmq-build.mk
|
DEP_PLUGINS = rabbit_common/mk/rabbitmq-build.mk
|
||||||
|
|
||||||
PLT_APPS += common_test crypto
|
PLT_APPS += common_test crypto ssl
|
||||||
|
|
||||||
include ../../rabbitmq-components.mk
|
include ../../rabbitmq-components.mk
|
||||||
include ../../erlang.mk
|
include ../../erlang.mk
|
||||||
|
|
|
@ -23,7 +23,7 @@ new(WsUrl, PPid, AuthInfo, Protocols) ->
|
||||||
new(WsUrl, PPid, AuthInfo, Protocols, <<>>).
|
new(WsUrl, PPid, AuthInfo, Protocols, <<>>).
|
||||||
|
|
||||||
new(WsUrl, PPid, AuthInfo, Protocols, TcpPreface) ->
|
new(WsUrl, PPid, AuthInfo, Protocols, TcpPreface) ->
|
||||||
_ = crypto:start(),
|
_ = application:start(crypto),
|
||||||
_ = application:ensure_all_started(ssl),
|
_ = application:ensure_all_started(ssl),
|
||||||
{Transport, Url} = case WsUrl of
|
{Transport, Url} = case WsUrl of
|
||||||
"ws://" ++ Rest -> {gen_tcp, Rest};
|
"ws://" ++ Rest -> {gen_tcp, Rest};
|
||||||
|
|
Loading…
Reference in New Issue