Skip to content

Commit

Permalink
Merge pull request #3218 from esl/big_tests/remove-gen_fsm_compat
Browse files Browse the repository at this point in the history
Remove gen_fsm_compat from big_tests
  • Loading branch information
NelsonVides authored Aug 13, 2021
2 parents 3e9d8a8 + 0d29b5b commit 8f1bf7c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion big_tests/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
{gun, "2.0.0-rc.2"},
{fusco, "0.1.1"},
{escalus, "4.2.5"},
{gen_fsm_compat, "0.3.0"},
{cowboy, "2.9.0"},
{csv, "3.0.3", {pkg, csve}},
{amqp_client, "3.9.1"},
Expand Down
3 changes: 0 additions & 3 deletions big_tests/rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
{<<"fast_scram">>,{pkg,<<"fast_scram">>,<<"0.4.1">>},1},
{<<"fast_tls">>,{pkg,<<"fast_tls">>,<<"1.1.13">>},1},
{<<"fusco">>,{pkg,<<"fusco">>,<<"0.1.1">>},0},
{<<"gen_fsm_compat">>,{pkg,<<"gen_fsm_compat">>,<<"0.3.0">>},0},
{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1},
{<<"gun">>,{pkg,<<"gun">>,<<"2.0.0-rc.2">>},0},
{<<"jid">>,{pkg,<<"mongoose_jid">>,<<"1.0.0">>},0},
Expand Down Expand Up @@ -49,7 +48,6 @@
{<<"fast_scram">>, <<"592E7943028EE86284EAAE5EA868545ACEB4A5CC7EF77829E2E54F19F57FAD7E">>},
{<<"fast_tls">>, <<"828CDC75E1E8FCE8158846D2B971D8B4FE2B2DDCC75B759E88D751079BF78AFD">>},
{<<"fusco">>, <<"3DD6A90151DFEF30EA1937CC44E9A59177C0094918388D9BCAA2F2DC5E2AE4AA">>},
{<<"gen_fsm_compat">>, <<"5903549F67D595F58A7101154CBE0FDD46955FBFBE40813F1E53C23A970FF5F4">>},
{<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>},
{<<"gun">>, <<"7C489A32DEDCCB77B6E82D1F3C5A7DADFBFA004EC14E322CDB5E579C438632D2">>},
{<<"jid">>, <<"B6D8F9E3015CCB36868D5DB1E847C6176C4F7513360F11CA07B8B95DDC42421E">>},
Expand Down Expand Up @@ -82,7 +80,6 @@
{<<"fast_scram">>, <<"7948D5B2D09C30463620F52AEA5865BE954E3AD0230E267DE2D34C5C3F110291">>},
{<<"fast_tls">>, <<"D1F422AF40C7777FE534496F508EE86515CB929AD10F7D1D56AA94CE899B44A0">>},
{<<"fusco">>, <<"6343551BD1E824F2A6CA85E1158C5B37C320FD449FBFEC7450A73F192AAF9022">>},
{<<"gen_fsm_compat">>, <<"7153D11BAD328933D4B24E663D8CEC52874E14176C7FB392FA1FF768B17460D9">>},
{<<"goldrush">>, <<"99CB4128CFFCB3227581E5D4D803D5413FA643F4EB96523F77D9E6937D994CEB">>},
{<<"gun">>, <<"6B9D1EAE146410D727140DBF8B404B9631302ECC2066D1D12F22097AD7D254FC">>},
{<<"jid">>, <<"D96C1223660E54549305252A3492500980505652AEB80950E201A3C446C4C9D2">>},
Expand Down
1 change: 0 additions & 1 deletion big_tests/src/ejabberd_tests.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
kernel,
stdlib,
cowboy,
gen_fsm_compat,
jid,
gun,
fusco,
Expand Down
9 changes: 7 additions & 2 deletions big_tests/tests/muc_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,13 @@ destroy_room(Config) ->
destroy_room(Host, Room) when is_binary(Host), is_binary(Room) ->
Room1 = rpc(mim(), jid, nodeprep, [Room]),
case rpc(mim(), ets, lookup, [muc_online_room, {Room1, Host}]) of
[{_,_,Pid}|_] -> gen_fsm_compat:send_all_state_event(Pid, destroy);
_ -> ok
[{_,_,Pid}|_] ->
%% @TODO related to gen_fsm_compat: after migration to gen_statem
%% should be replaced to - gen_statem:call(Pid, destroy).
Pid ! {'$gen_all_state_event', destroy},
ok;
_ ->
ok
end.

stanza_muc_enter_room(Room, Nick) ->
Expand Down

0 comments on commit 8f1bf7c

Please sign in to comment.