Skip to content

Commit

Permalink
Simplify sm test case
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Oct 25, 2021
1 parent ec8f1c3 commit 397ca5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions big_tests/tests/sm_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,10 @@ server_requests_ack(Config, N) ->
{Alice, _} = given_fresh_user(Config, alice),
%% ack request after initial presence
maybe_assert_ack_request(1, N, Alice),
StanzasRec = 1,
ct:print("discarded"),
escalus:send(Bob, escalus_stanza:chat_to(Alice, <<"Hi, Alice!">>)),
escalus:assert(is_chat_message, [<<"Hi, Alice!">>],
escalus:wait_for_stanza(Alice)),
maybe_assert_ack_request(StanzasRec + 1, N, Alice).
maybe_assert_ack_request(2, N, Alice).

maybe_assert_ack_request(StanzasRec, AckRequests, Alice) ->
ct:print("StanzasRec: ~p, AckRequests: ~p", [StanzasRec, AckRequests]),
Expand Down

0 comments on commit 397ca5f

Please sign in to comment.