test: call emqx_resource:remove_local
This commit is contained in:
parent
de93d1c0a3
commit
333eb34300
|
@ -315,7 +315,7 @@ delete_all_bridges() ->
|
|||
%% at some point during the tests, sometimes `emqx_bridge:list()'
|
||||
%% returns an empty list, but `emqx:get_config([bridges])' returns
|
||||
%% a bunch of orphan test bridges...
|
||||
lists:foreach(fun emqx_resource:remove/1, emqx_resource:list_instances()),
|
||||
lists:foreach(fun emqx_resource:remove_local/1, emqx_resource:list_instances()),
|
||||
emqx_config:put([bridges], #{}),
|
||||
ok.
|
||||
|
||||
|
|
|
@ -1234,7 +1234,7 @@ delete_all_bridges() ->
|
|||
%% at some point during the tests, sometimes `emqx_bridge:list()'
|
||||
%% returns an empty list, but `emqx:get_config([bridges])' returns
|
||||
%% a bunch of orphan test bridges...
|
||||
lists:foreach(fun emqx_resource:remove/1, emqx_resource:list_instances()),
|
||||
lists:foreach(fun emqx_resource:remove_local/1, emqx_resource:list_instances()),
|
||||
emqx_config:put([bridges], #{}),
|
||||
ok.
|
||||
|
||||
|
|
Loading…
Reference in New Issue