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).
|
application:start(App).
|
||||||
|
|
||||||
ensure_mnesia_stopped() ->
|
ensure_mnesia_stopped() ->
|
||||||
ekka_mnesia:ensure_stopped(),
|
mria:stop(),
|
||||||
ekka_mnesia:delete_schema().
|
mria_mnesia:delete_schema().
|
||||||
|
|
||||||
%% Help function to wait for Fun to yield 'true'.
|
%% Help function to wait for Fun to yield 'true'.
|
||||||
wait_for(Fn, Ln, F, Timeout) ->
|
wait_for(Fn, Ln, F, Timeout) ->
|
||||||
|
|
|
@ -80,8 +80,8 @@ do_mock(emqx_broker) ->
|
||||||
fun(Msg) -> {node(), <<"test">>, Msg} end);
|
fun(Msg) -> {node(), <<"test">>, Msg} end);
|
||||||
do_mock(emqx_stats) ->
|
do_mock(emqx_stats) ->
|
||||||
meck:expect(emqx_stats, getstats, fun() -> [0] end);
|
meck:expect(emqx_stats, getstats, fun() -> [0] end);
|
||||||
do_mock(ekka_mnesia) ->
|
do_mock(mria_mnesia) ->
|
||||||
meck:expect(ekka_mnesia, running_nodes, fun() -> [node()] end);
|
meck:expect(mria_mnesia, running_nodes, fun() -> [node()] end);
|
||||||
do_mock(emqx_metrics) ->
|
do_mock(emqx_metrics) ->
|
||||||
meck:expect(emqx_metrics, all, fun() -> [{hello, 3}] end).
|
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}) ->
|
next_state(State, _Res, {call, _Mod, _Fun, _Args}) ->
|
||||||
NewState = State,
|
NewState = State,
|
||||||
NewState.
|
NewState.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue