Commit ef48e3d3 authored by Pekka Pessi's avatar Pekka Pessi

test_basic_call.c: fixed timing problem in test_basic_call_7() (NUA-3.7.1)

Ignore-this: f70073fc6bf6d36252ea0c4700f41911

darcs-hash:20090707220901-db55f-a5fa7221cc1b37824ea5b7c941815c7d288e2f2b.gz
parent d3d3793f
......@@ -1791,6 +1791,8 @@ int test_basic_call_7(struct context *ctx)
TEST_1(!nua_handle_has_active_call(a_call->nh));
TEST_1(e = b->events->head); TEST_E(e->data->e_event, nua_i_method);
if (e->next == NULL)
run_b_until(ctx, nua_i_state, NULL);
TEST_1(e = e->next); TEST_E(e->data->e_event, nua_i_state);
TEST(callstate(e->data->e_tags), nua_callstate_terminated); /* TERMINATED */
TEST_1(!e->next);
......
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