Skip to content

Commit

Permalink
Fix race condition in sm_SUITE
Browse files Browse the repository at this point in the history
  • Loading branch information
fenek committed Mar 14, 2019
1 parent 97699f1 commit d817fc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions big_tests/tests/sm_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ resume_session_state_stop_c2s(Config) ->
escalus_connection:get_stanza(Alice, presence),

escalus:assert(is_sm_ack_request, escalus_connection:get_stanza(Alice, ack)),
escalus_connection:send(Alice, escalus_stanza:sm_ack(1)),

escalus_connection:send(Bob, escalus_stanza:chat_to(common_helper:get_bjid(AliceSpec), <<"msg-1">>)),

% kill alice connection
Expand Down

0 comments on commit d817fc6

Please sign in to comment.