Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
7a2ca891
Commit
7a2ca891
authored
Feb 15, 2015
by
Simon Morlat
Browse files
increase tester's timeouts
parent
847713bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
tester/eventapi_tester.c
tester/eventapi_tester.c
+6
-6
tester/flexisip_tester.c
tester/flexisip_tester.c
+3
-3
No files found.
tester/eventapi_tester.c
View file @
7a2ca891
...
...
@@ -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-Header2"
),
"pimpon"
);
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneSubscriptionActive
,
1
,
1
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
pauline
->
stat
.
number_of_LinphoneSubscriptionActive
,
1
,
1
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneSubscriptionActive
,
1
,
5
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
pauline
->
stat
.
number_of_LinphoneSubscriptionActive
,
1
,
5
000
));
/*make sure marie receives first notification before terminating*/
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_NotifyReceived
,
1
,
1
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_NotifyReceived
,
1
,
5
000
));
if
(
refresh_type
==
AutoRefresh
){
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
){
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneSubscriptionExpiring
,
1
,
4000
));
linphone_event_update_subscribe
(
lev
,
NULL
);
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneSubscriptionActive
,
2
,
2
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneSubscriptionActive
,
2
,
5
000
));
}
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
);
}
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneSubscriptionTerminated
,
1
,
1
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
pauline
->
stat
.
number_of_LinphoneSubscriptionTerminated
,
1
,
1
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneSubscriptionTerminated
,
1
,
5
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
pauline
->
stat
.
number_of_LinphoneSubscriptionTerminated
,
1
,
5
000
));
linphone_content_unref
(
content
);
linphone_core_manager_destroy
(
marie
);
...
...
tester/flexisip_tester.c
View file @
7a2ca891
...
...
@@ -574,8 +574,8 @@ static void early_media_call_forking(void) {
&&
linphone_call_get_audio_stats
(
marie1_call
)
->
download_bandwidth
<
99
);
linphone_core_terminate_all_calls
(
pauline
->
lc
);
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
pauline
->
stat
.
number_of_LinphoneCallEnd
,
1
,
1
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie1
->
stat
.
number_of_LinphoneCallEnd
,
1
,
1
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
pauline
->
stat
.
number_of_LinphoneCallEnd
,
1
,
5
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie1
->
stat
.
number_of_LinphoneCallEnd
,
1
,
5
000
));
ms_list_free
(
lcs
);
linphone_core_manager_destroy
(
marie1
);
...
...
@@ -643,7 +643,7 @@ static void call_with_sips_not_achievable(void){
linphone_address_unref
(
dest
);
/*Call should be rejected by server with 480*/
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneCallError
,
1
,
3
000
));
CU_ASSERT_TRUE
(
wait_for_list
(
lcs
,
&
marie
->
stat
.
number_of_LinphoneCallError
,
1
,
6
000
));
ei
=
linphone_call_get_error_info
(
call
);
CU_ASSERT_PTR_NOT_NULL
(
ei
);
if
(
ei
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment