Commit a29d8756 authored by Mickaël Turnel's avatar Mickaël Turnel
Browse files

Add some waiting time for mDNS test with no result

The test was incorrect since it was executing before last services were stoppped
parent 0dd4eaf9
......@@ -609,6 +609,9 @@ static void mdns_query_no_result(void) {
client = create_endpoint();
// Wait some time to be sure that the services from last test are stopped
wait_for(client->stack, &client->resolve_done, 1, 2000);
client->resolver_ctx = belle_sip_stack_resolve(client->stack, "sip", "tcp", "test.linphone.local", 5060, AF_INET, a_resolve_done, client);
BC_ASSERT_TRUE(wait_for(client->stack, &client->resolve_done, 1, 6000));
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