Commit 39a660c0 authored by jehan's avatar jehan
Browse files

fix refresher tester issue

parent 387b7e46
......@@ -578,8 +578,11 @@ static void subscribe_base(int with_resource_lists) {
end = belle_sip_time_ms();
BC_ASSERT_TRUE(end-begin>=3000);
BC_ASSERT_TRUE(end-begin<5000);
belle_sip_message("simulating dialog error and recovery");
belle_sip_stack_set_send_error(client->stack, 1500);
BC_ASSERT_TRUE(wait_for(server->stack,client->stack,&client->stat.fiveHundredTree,1,4000));
BC_ASSERT_TRUE(wait_for(server->stack,client->stack,&client->stat.fourHundredEightyOne,1,4000));
belle_sip_stack_set_send_error(client->stack, 0);
wait_for(server->stack,client->stack, &dummy, 1, 1000);
......
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