Fix test_synchronize_member_list_on_group_rejoin

This commit is contained in:
link2xt
2022-12-27 16:07:29 +00:00
parent b5fc9aedc5
commit 0215046c76

View File

@@ -106,8 +106,13 @@ class TestGroupStressTests:
msg = ac2._evtracker.wait_next_incoming_message()
lp.sec("ac1: removing ac3")
ac1._evtracker.consume_events()
chat.remove_contact(ac3)
# Ensure the message is not pending,
# so we will reference it in the In-Reply-To.
ac1._evtracker.get_matching("DC_EVENT_SMTP_MESSAGE_SENT")
lp.sec("ac1: adding ac2 back")
# Group is promoted, message is sent automatically
assert chat.is_promoted()