Fix test case
This commit is contained in:
parent
600cd11f1f
commit
e35eaa97b3
|
@ -97,6 +97,7 @@ t_cm(_) ->
|
|||
ClientId = <<"myclient">>,
|
||||
{ok, C} = emqtt:start_link([{client_id, ClientId}]),
|
||||
{ok, _} = emqtt:connect(C),
|
||||
ct:sleep(50),
|
||||
#{client := #{client_id := ClientId}} = emqx_cm:get_chan_attrs(ClientId),
|
||||
emqtt:subscribe(C, <<"mytopic">>, 0),
|
||||
ct:sleep(1200),
|
||||
|
|
Loading…
Reference in New Issue