From 6fece09ed76b99540ecc7a50623f8c2d5080d0c0 Mon Sep 17 00:00:00 2001 From: iequidoo Date: Wed, 11 Oct 2023 03:14:39 -0300 Subject: [PATCH] test: test_qr_new_group_unblocked(): W/a message reordering on server There was a recent failure of the test probably as a result of message reordering on the server: https://github.com/deltachat/deltachat-core-rust/actions/runs/6464605602/job/17549624095?pr=4813. --- python/tests/test_1_online.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/tests/test_1_online.py b/python/tests/test_1_online.py index 6b7e17472..bf5914a77 100644 --- a/python/tests/test_1_online.py +++ b/python/tests/test_1_online.py @@ -1698,12 +1698,10 @@ def test_qr_new_group_unblocked(acfactory, lp): ac1_new_chat = ac1.create_group_chat("Another group") ac1_new_chat.add_contact(ac2) - ac1_new_chat.send_text("Hello!") - # Receive "Member added" message. ac2._evtracker.wait_next_incoming_message() - # Receive "Hello!" message. + ac1_new_chat.send_text("Hello!") ac2_msg = ac2._evtracker.wait_next_incoming_message() assert ac2_msg.text == "Hello!" assert ac2_msg.chat.is_contact_request()