chore(ct): ekka_mnesia -> mria_mnesia
This commit is contained in:
parent
73a4816d9c
commit
fcdf10080d
|
@ -290,8 +290,8 @@ reload(App, SpecAppConfigHandler) ->
|
|||
application:start(App).
|
||||
|
||||
ensure_mnesia_stopped() ->
|
||||
ekka_mnesia:ensure_stopped(),
|
||||
ekka_mnesia:delete_schema().
|
||||
mria:stop(),
|
||||
mria_mnesia:delete_schema().
|
||||
|
||||
%% Help function to wait for Fun to yield 'true'.
|
||||
wait_for(Fn, Ln, F, Timeout) ->
|
||||
|
|
|
@ -80,8 +80,8 @@ do_mock(emqx_broker) ->
|
|||
fun(Msg) -> {node(), <<"test">>, Msg} end);
|
||||
do_mock(emqx_stats) ->
|
||||
meck:expect(emqx_stats, getstats, fun() -> [0] end);
|
||||
do_mock(ekka_mnesia) ->
|
||||
meck:expect(ekka_mnesia, running_nodes, fun() -> [node()] end);
|
||||
do_mock(mria_mnesia) ->
|
||||
meck:expect(mria_mnesia, running_nodes, fun() -> [node()] end);
|
||||
do_mock(emqx_metrics) ->
|
||||
meck:expect(emqx_metrics, all, fun() -> [{hello, 3}] end).
|
||||
|
||||
|
@ -129,4 +129,3 @@ postcondition(_State, {call, _Mod, _Fun, _Args}, _Res) ->
|
|||
next_state(State, _Res, {call, _Mod, _Fun, _Args}) ->
|
||||
NewState = State,
|
||||
NewState.
|
||||
|
||||
|
|
Loading…
Reference in New Issue