From a91df137822009dbe4915a22a687c71f223ccaae Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 26 Jun 2022 17:10:59 +0000 Subject: [PATCH] Insert sleep --- python/tests/test_0_complex_or_slow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/tests/test_0_complex_or_slow.py b/python/tests/test_0_complex_or_slow.py index 9bb06c464..5390ff44d 100644 --- a/python/tests/test_0_complex_or_slow.py +++ b/python/tests/test_0_complex_or_slow.py @@ -1,4 +1,5 @@ import sys +import time import pytest @@ -220,6 +221,8 @@ def test_fetch_existing(acfactory, lp, mvbox_move): assert idle1.wait_for_seen() assert_folders_configured(ac1) + time.sleep(30) # Wait until the message is indexed. + lp.sec("create a cloned ac1 and fetch contact history during configure") ac1_clone = acfactory.new_online_configuring_account(cloned_from=ac1, fetch_existing_msgs=True) acfactory.wait_configured(ac1_clone)