Commit f5d520cd authored by Pekka Pessi's avatar Pekka Pessi

test_register.c: fixed timing problem

darcs-hash:20070723153122-65a35-aa197e4b684c4d882a5b899ab597947048e45d2b.gz
parent 550d9907
......@@ -142,7 +142,7 @@ int test_register_to_proxy(struct context *ctx)
TEST_1(e = a->events->head);
TEST_1(sip = sip_object(e->data->e_msg));
if (ctx->nat) {
if (ctx->nat && e->data->e_status == 100) {
TEST_E(e->data->e_event, nua_r_register);
TEST(e->data->e_status, 100);
TEST(sip->sip_status->st_status, 406);
......
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