Tue Jul 7 17:09:01 CDT 2009 Pekka Pessi <first.last@nokia.com>

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


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14184 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-07-10 00:45:13 +00:00
parent 9460e5dc90
commit d0612e0cac
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
Thu Jul 9 19:42:57 CDT 2009
Thu Jul 9 19:43:30 CDT 2009

View File

@ -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);