mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
increase tester's timeouts
This commit is contained in:
parent
847713bb82
commit
7a2ca89183
2 changed files with 9 additions and 9 deletions
|
|
@ -247,11 +247,11 @@ static void subscribe_test_with_args2(bool_t terminated_by_subscriber, RefreshTe
|
||||||
CU_ASSERT_STRING_EQUAL(linphone_event_get_custom_header(pauline->lev,"My-Header"),"pouet");
|
CU_ASSERT_STRING_EQUAL(linphone_event_get_custom_header(pauline->lev,"My-Header"),"pouet");
|
||||||
CU_ASSERT_STRING_EQUAL(linphone_event_get_custom_header(pauline->lev,"My-Header2"),"pimpon");
|
CU_ASSERT_STRING_EQUAL(linphone_event_get_custom_header(pauline->lev,"My-Header2"),"pimpon");
|
||||||
|
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionActive,1,1000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionActive,1,5000));
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&pauline->stat.number_of_LinphoneSubscriptionActive,1,1000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&pauline->stat.number_of_LinphoneSubscriptionActive,1,5000));
|
||||||
|
|
||||||
/*make sure marie receives first notification before terminating*/
|
/*make sure marie receives first notification before terminating*/
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_NotifyReceived,1,1000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_NotifyReceived,1,5000));
|
||||||
|
|
||||||
if (refresh_type==AutoRefresh){
|
if (refresh_type==AutoRefresh){
|
||||||
wait_for_list(lcs,NULL,0,6000);
|
wait_for_list(lcs,NULL,0,6000);
|
||||||
|
|
@ -259,7 +259,7 @@ static void subscribe_test_with_args2(bool_t terminated_by_subscriber, RefreshTe
|
||||||
}else if (refresh_type==ManualRefresh){
|
}else if (refresh_type==ManualRefresh){
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionExpiring,1,4000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionExpiring,1,4000));
|
||||||
linphone_event_update_subscribe(lev,NULL);
|
linphone_event_update_subscribe(lev,NULL);
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionActive,2,2000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionActive,2,5000));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (terminated_by_subscriber){
|
if (terminated_by_subscriber){
|
||||||
|
|
@ -269,8 +269,8 @@ static void subscribe_test_with_args2(bool_t terminated_by_subscriber, RefreshTe
|
||||||
linphone_event_terminate(pauline->lev);
|
linphone_event_terminate(pauline->lev);
|
||||||
}
|
}
|
||||||
|
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionTerminated,1,1000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneSubscriptionTerminated,1,5000));
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&pauline->stat.number_of_LinphoneSubscriptionTerminated,1,1000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&pauline->stat.number_of_LinphoneSubscriptionTerminated,1,5000));
|
||||||
|
|
||||||
linphone_content_unref(content);
|
linphone_content_unref(content);
|
||||||
linphone_core_manager_destroy(marie);
|
linphone_core_manager_destroy(marie);
|
||||||
|
|
|
||||||
|
|
@ -574,8 +574,8 @@ static void early_media_call_forking(void) {
|
||||||
&& linphone_call_get_audio_stats(marie1_call)->download_bandwidth<99 );
|
&& linphone_call_get_audio_stats(marie1_call)->download_bandwidth<99 );
|
||||||
|
|
||||||
linphone_core_terminate_all_calls(pauline->lc);
|
linphone_core_terminate_all_calls(pauline->lc);
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&pauline->stat.number_of_LinphoneCallEnd,1,1000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&pauline->stat.number_of_LinphoneCallEnd,1,5000));
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&marie1->stat.number_of_LinphoneCallEnd,1,1000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&marie1->stat.number_of_LinphoneCallEnd,1,5000));
|
||||||
|
|
||||||
ms_list_free(lcs);
|
ms_list_free(lcs);
|
||||||
linphone_core_manager_destroy(marie1);
|
linphone_core_manager_destroy(marie1);
|
||||||
|
|
@ -643,7 +643,7 @@ static void call_with_sips_not_achievable(void){
|
||||||
linphone_address_unref(dest);
|
linphone_address_unref(dest);
|
||||||
|
|
||||||
/*Call should be rejected by server with 480*/
|
/*Call should be rejected by server with 480*/
|
||||||
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneCallError,1,3000));
|
CU_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneCallError,1,6000));
|
||||||
ei=linphone_call_get_error_info(call);
|
ei=linphone_call_get_error_info(call);
|
||||||
CU_ASSERT_PTR_NOT_NULL(ei);
|
CU_ASSERT_PTR_NOT_NULL(ei);
|
||||||
if (ei){
|
if (ei){
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue