diff --git a/tester/liblinphone_tester.c b/tester/liblinphone_tester.c index b6dd2063e32e83765f6d320e33e5e7af72cc7e41..7f0b13b8eaab09f7b4fdddd034d63b75a99aaf67 100644 --- a/tester/liblinphone_tester.c +++ b/tester/liblinphone_tester.c @@ -627,7 +627,7 @@ void liblinphone_tester_init(void (*ftester_printf)(int level, const char *fmt, bc_tester_set_logfile_func(logfile_arg_func); bc_tester_init(ftester_printf, ORTP_MESSAGE, ORTP_ERROR, "rcfiles"); liblinphone_tester_add_suites(); - bc_tester_set_max_parallel_suites(20); /* empiricaly defined as sustainable for our lab 12 threads machine.*/ + bc_tester_set_max_parallel_suites(32); /* empiricaly defined as sustainable for our lab 12 threads machine.*/ bc_tester_set_global_timeout(20 * 60); /* 20 mn max */ } diff --git a/tester/local_ice_conference_tester.cpp b/tester/local_ice_conference_tester.cpp index 36e6ea5cdbf3fe632d0282ea06b0012225a809a3..5c38c8ccbfe0179446754abce385facd1848947d 100644 --- a/tester/local_ice_conference_tester.cpp +++ b/tester/local_ice_conference_tester.cpp @@ -522,4 +522,6 @@ test_suite_t local_conference_test_suite_scheduled_ice_conference = { sizeof(local_conference_scheduled_ice_conference_tests) / sizeof(local_conference_scheduled_ice_conference_tests[0]), local_conference_scheduled_ice_conference_tests, - 0}; + 0, + 4 /*cpu_weight : video conference uses more resources */ +}; diff --git a/tester/local_inpromptu_conference_tester.cpp b/tester/local_inpromptu_conference_tester.cpp index ae3a06173587d47ac8611d985cd9ff61c7921951..8b00e725bcd8061064df2fef66e079a0929b4639 100644 --- a/tester/local_inpromptu_conference_tester.cpp +++ b/tester/local_inpromptu_conference_tester.cpp @@ -1897,7 +1897,9 @@ test_suite_t local_conference_test_suite_inpromptu_conference = { liblinphone_tester_after_each, sizeof(local_conference_inpromptu_conference_tests) / sizeof(local_conference_inpromptu_conference_tests[0]), local_conference_inpromptu_conference_tests, - 0}; + 0, + 4 /*cpu_weight : video conference uses more resources */ +}; test_suite_t local_conference_test_suite_inpromptu_mismatch_conference = { "Local conference tester (Inpromptu Conference with mismatch)", diff --git a/tester/local_scheduled_conference_tester.cpp b/tester/local_scheduled_conference_tester.cpp index e45dbade0f1a2746480f8b838cd7255fb047a232..4c5b6c8820ce978979c3ca9f92bf4447c165653d 100644 --- a/tester/local_scheduled_conference_tester.cpp +++ b/tester/local_scheduled_conference_tester.cpp @@ -2491,7 +2491,9 @@ test_suite_t local_conference_test_suite_scheduled_conference_basic = { sizeof(local_conference_scheduled_conference_basic_tests) / sizeof(local_conference_scheduled_conference_basic_tests[0]), local_conference_scheduled_conference_basic_tests, - 0}; + 0, + 4 /*cpu_weight : video conference uses more resources */ +}; test_suite_t local_conference_test_suite_scheduled_conference_advanced = { "Local conference tester (Scheduled Conference Advanced)", @@ -2502,7 +2504,9 @@ test_suite_t local_conference_test_suite_scheduled_conference_advanced = { sizeof(local_conference_scheduled_conference_advanced_tests) / sizeof(local_conference_scheduled_conference_advanced_tests[0]), local_conference_scheduled_conference_advanced_tests, - 0}; + 0, + 4 /*cpu_weight : video conference uses more resources */ +}; test_suite_t local_conference_test_suite_scheduled_conference_audio_only_participant = { "Local conference tester (Audio only participants)", @@ -2513,4 +2517,6 @@ test_suite_t local_conference_test_suite_scheduled_conference_audio_only_partici sizeof(local_conference_scheduled_conference_audio_only_participant_tests) / sizeof(local_conference_scheduled_conference_audio_only_participant_tests[0]), local_conference_scheduled_conference_audio_only_participant_tests, - 0}; + 0, + 4 /*cpu_weight : video conference uses more resources */ +}; diff --git a/tester/video_quality_tester.c b/tester/video_quality_tester.c index 3aabc19d527c3154407995ce5c15bb3bea230121..ca808baca20726dc7318672b27d994846e75803b 100644 --- a/tester/video_quality_tester.c +++ b/tester/video_quality_tester.c @@ -975,6 +975,7 @@ test_suite_t call_video_quality_test_suite = {"Video Call quality", liblinphone_tester_after_each, sizeof(call_video_quality_tests) / sizeof(call_video_quality_tests[0]), call_video_quality_tests, - 0}; + 0, + 8 /* cpu weight - this suite is very cpu consuming */}; #endif // ifdef VIDEO_ENABLED