mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
simplify "broken bobstate" as the state still passes
This commit is contained in:
@@ -1725,12 +1725,7 @@ def test_qr_join_chat_with_pending_bobstate_issue4894(acfactory, lp):
|
|||||||
|
|
||||||
lp.sec("ac1: let ac2 join again but shutoff ac1 in the middle of securejoin")
|
lp.sec("ac1: let ac2 join again but shutoff ac1 in the middle of securejoin")
|
||||||
ac2.qr_join_chat(ch1.get_join_qr())
|
ac2.qr_join_chat(ch1.get_join_qr())
|
||||||
while 1:
|
ac1.shutdown()
|
||||||
ev = ac2._evtracker.get_matching("DC_EVENT_SECUREJOIN_JOINER_PROGRESS")
|
|
||||||
if ev.data2 == 400: # prevent ac1 from answering request_with_auth
|
|
||||||
ac1.shutdown()
|
|
||||||
break
|
|
||||||
|
|
||||||
lp.sec("ac2 now has pending bobstate but ac1 is shutoff")
|
lp.sec("ac2 now has pending bobstate but ac1 is shutoff")
|
||||||
|
|
||||||
# we meanwhile expect ac3/ac2 verification started in the beginning to have completed
|
# we meanwhile expect ac3/ac2 verification started in the beginning to have completed
|
||||||
|
|||||||
Reference in New Issue
Block a user