Fix quality reporting test: since qos analyzer now use a minimum interval time, we have to add some extra delay

This commit is contained in:
Gautier Pelloux-Prayer 2014-11-07 16:01:24 +01:00
parent 4392e2ff4a
commit a12c07a3ab
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit da866fe6449ae1156d3ce02b126beb7056479b0e
Subproject commit fa31c93d0a27a2e45877ed5b746c4673064f8452

View file

@ -275,14 +275,14 @@ static void quality_reporting_interval_report() {
if (create_call_for_quality_reporting_tests(marie, pauline, &call_marie, &call_pauline, NULL, NULL)) {
linphone_reporting_set_on_report_send(call_marie, on_report_send_mandatory);
linphone_proxy_config_set_quality_reporting_interval(call_marie->dest_proxy, 3);
linphone_proxy_config_set_quality_reporting_interval(call_marie->dest_proxy, 10);
CU_ASSERT_PTR_NOT_NULL(linphone_core_get_current_call(marie->lc));
CU_ASSERT_PTR_NOT_NULL(linphone_core_get_current_call(pauline->lc));
// PUBLISH submission to the collector should be ok
CU_ASSERT_TRUE(wait_for_until(marie->lc,pauline->lc,&marie->stat.number_of_LinphonePublishProgress,3,25000));
CU_ASSERT_TRUE(wait_for_until(marie->lc,pauline->lc,&marie->stat.number_of_LinphonePublishOk,3,25000));
CU_ASSERT_TRUE(wait_for_until(marie->lc,pauline->lc,&marie->stat.number_of_LinphonePublishProgress,3,60000));
CU_ASSERT_TRUE(wait_for_until(marie->lc,pauline->lc,&marie->stat.number_of_LinphonePublishOk,3,60000));
}
linphone_core_manager_destroy(marie);
linphone_core_manager_destroy(pauline);