From 4bc23c3fb92782e23afbf9b9442ad7af5c153004 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 26 Jun 2022 13:51:05 +0000 Subject: [PATCH] Set fetch_existing_msgs without race condition --- python/tests/test_0_complex_or_slow.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/tests/test_0_complex_or_slow.py b/python/tests/test_0_complex_or_slow.py index 3d4f14e53..9bb06c464 100644 --- a/python/tests/test_0_complex_or_slow.py +++ b/python/tests/test_0_complex_or_slow.py @@ -221,8 +221,7 @@ def test_fetch_existing(acfactory, lp, mvbox_move): assert_folders_configured(ac1) lp.sec("create a cloned ac1 and fetch contact history during configure") - ac1_clone = acfactory.new_online_configuring_account(cloned_from=ac1) - ac1_clone.set_config("fetch_existing_msgs", "1") + ac1_clone = acfactory.new_online_configuring_account(cloned_from=ac1, fetch_existing_msgs=True) acfactory.wait_configured(ac1_clone) ac1_clone.start_io() assert_folders_configured(ac1_clone)