mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-04 04:19:35 +00:00
Increase timeout of tls_with_non_tls_server test.
This commit is contained in:
parent
1b876ce0ec
commit
29bacd320b
2 changed files with 2 additions and 2 deletions
|
|
@ -847,7 +847,7 @@ static void tls_with_non_tls_server(void){
|
|||
linphone_proxy_config_set_server_addr(proxy_cfg,tmp);
|
||||
linphone_proxy_config_done(proxy_cfg);
|
||||
linphone_address_destroy(addr);
|
||||
BC_ASSERT_TRUE(wait_for_until(lc,lc,&lcm->stat.number_of_LinphoneRegistrationFailed,1,5000));
|
||||
BC_ASSERT_TRUE(wait_for_until(lc,lc,&lcm->stat.number_of_LinphoneRegistrationFailed,1,10000));
|
||||
linphone_core_manager_destroy(lcm);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ class TestRegister:
|
|||
port = 5060
|
||||
pc.server_addr = "sip:{domain}:{port};transport=tls".format(domain=addr.domain, port=port)
|
||||
pc.done()
|
||||
assert_equals(CoreManager.wait_for_until(cm, cm, lambda cm1, cm2: cm1.stats.number_of_LinphoneRegistrationFailed == 1, 5000), True)
|
||||
assert_equals(CoreManager.wait_for_until(cm, cm, lambda cm1, cm2: cm1.stats.number_of_LinphoneRegistrationFailed == 1, 10000), True)
|
||||
|
||||
def test_simple_authenticated_register(self):
|
||||
cm = RegisterCoreManager()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue