mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
Insert sleep
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import sys
|
import sys
|
||||||
|
import time
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
@@ -220,6 +221,8 @@ def test_fetch_existing(acfactory, lp, mvbox_move):
|
|||||||
assert idle1.wait_for_seen()
|
assert idle1.wait_for_seen()
|
||||||
assert_folders_configured(ac1)
|
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")
|
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)
|
ac1_clone = acfactory.new_online_configuring_account(cloned_from=ac1, fetch_existing_msgs=True)
|
||||||
acfactory.wait_configured(ac1_clone)
|
acfactory.wait_configured(ac1_clone)
|
||||||
|
|||||||
Reference in New Issue
Block a user