mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 08:16:32 +03:00
Set fetch_existing_msgs without race condition
This commit is contained in:
@@ -221,8 +221,7 @@ def test_fetch_existing(acfactory, lp, mvbox_move):
|
|||||||
assert_folders_configured(ac1)
|
assert_folders_configured(ac1)
|
||||||
|
|
||||||
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)
|
ac1_clone = acfactory.new_online_configuring_account(cloned_from=ac1, fetch_existing_msgs=True)
|
||||||
ac1_clone.set_config("fetch_existing_msgs", "1")
|
|
||||||
acfactory.wait_configured(ac1_clone)
|
acfactory.wait_configured(ac1_clone)
|
||||||
ac1_clone.start_io()
|
ac1_clone.start_io()
|
||||||
assert_folders_configured(ac1_clone)
|
assert_folders_configured(ac1_clone)
|
||||||
|
|||||||
Reference in New Issue
Block a user