Wait for call to end before checking call log db

This commit is contained in:
Sylvain Berfini 2015-09-08 15:50:09 +02:00
parent 6863508cb9
commit c42efa7ff0

View file

@ -4916,6 +4916,8 @@ static void call_logs_sqlite_storage() {
BC_ASSERT_TRUE(linphone_core_get_call_history_size(marie->lc) == 0);
BC_ASSERT_TRUE(call(pauline,marie));
wait_for_until(pauline->lc, marie->lc, NULL, 5, 3000);
end_call(pauline, marie);
BC_ASSERT_TRUE(linphone_core_get_call_history_size(marie->lc) == 1);