From ea455323d8149a4c3f6be0b83b3ced09bd92e8a7 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 13 Apr 2020 12:21:11 +0200 Subject: [PATCH] increase timeout while waiting for rsa2048 keygen -- default timeout is 30secs, and it sometimes takes 31 or more on the CI machines --- python/tests/test_account.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 7a7d53db9..c8eeddc6d 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -545,6 +545,8 @@ class TestOnlineAccount: pre_generated_key=False, config={"key_gen_type": str(const.DC_KEY_GEN_ED25519)} ) + # rsa key gen can be slow especially on CI, adjust timeout + ac1._evtracker.set_timeout(120) wait_configuration_progress(ac1, 1000) wait_configuration_progress(ac2, 1000) chat = self.get_chat(ac1, ac2, both_created=True)