Commit c42efa7f authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Wait for call to end before checking call log db

parent 6863508c
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment