Commit 93ccbc12 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

test_sip_events: fix race in unsub test case

parent ee00c7fa
......@@ -311,9 +311,11 @@ int test_events(struct context *ctx)
if (print_headings)
printf("TEST NUA-12.5: un-SUBSCRIBE\n");
memset(&a->flags, 0, sizeof a->flags);
UNSUBSCRIBE(a, a_call, a_call->nh, TAG_END());
run_ab_until(ctx, -1, save_until_final_response,
run_ab_until(ctx, -1, save_until_notified_and_responded,
-1, save_until_subscription);
/* Client events:
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