mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
change some registration test to wait until registration cleared to arive
This commit is contained in:
parent
162f121348
commit
2ae4719376
2 changed files with 8 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit b76e3dde111af0d24be4ac5f1d4f633361e654c1
|
||||
Subproject commit 34ced9269b1e8f8272b25f627db37dc12ce05317
|
||||
|
|
@ -567,11 +567,17 @@ static void io_recv_error_without_active_register(){
|
|||
for (proxys=ms_list_copy(linphone_core_get_proxy_config_list(lc));proxys!=NULL;proxys=proxys->next) {
|
||||
LinphoneProxyConfig* proxy_cfg=(LinphoneProxyConfig*)proxys->data;
|
||||
linphone_proxy_config_edit(proxy_cfg);
|
||||
}
|
||||
ms_list_free(proxys);
|
||||
/*wait for unregistrations*/
|
||||
CU_ASSERT_TRUE(wait_for(lc,lc,&counters->number_of_LinphoneRegistrationCleared,register_ok /*because 1 udp*/));
|
||||
|
||||
for (proxys=ms_list_copy(linphone_core_get_proxy_config_list(lc));proxys!=NULL;proxys=proxys->next) {
|
||||
LinphoneProxyConfig* proxy_cfg=(LinphoneProxyConfig*)proxys->data;
|
||||
linphone_proxy_config_enable_register(proxy_cfg,FALSE);
|
||||
linphone_proxy_config_done(proxy_cfg);
|
||||
}
|
||||
ms_list_free(proxys);
|
||||
CU_ASSERT_TRUE(wait_for(lc,lc,&counters->number_of_LinphoneRegistrationCleared,register_ok /*because 1 udp*/));
|
||||
|
||||
sal_set_recv_error(lc->sal, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue