summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pjnath/src/pjnath-test/concur_test.c2
-rw-r--r--pjnath/src/pjnath-test/stun_sock_test.c6
-rw-r--r--pjsip/src/test/tsx_basic_test.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/pjnath/src/pjnath-test/concur_test.c b/pjnath/src/pjnath-test/concur_test.c
index 9d2fa652..0ab5bf1d 100644
--- a/pjnath/src/pjnath-test/concur_test.c
+++ b/pjnath/src/pjnath-test/concur_test.c
@@ -252,7 +252,7 @@ static int stun_destroy_test(void)
pj_timer_heap_set_lock(test_sess.stun_cfg.timer_heap, test_sess.lock, PJ_TRUE);
pj_assert(status == PJ_SUCCESS);
- status = pj_ioqueue_create(pool, 512, &test_sess.stun_cfg.ioqueue);
+ status = pj_ioqueue_create(pool, PJ_IOQUEUE_MAX_HANDLES, &test_sess.stun_cfg.ioqueue);
pj_assert(status == PJ_SUCCESS);
pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &test_sess.server_sock);
diff --git a/pjnath/src/pjnath-test/stun_sock_test.c b/pjnath/src/pjnath-test/stun_sock_test.c
index ebf5a2bd..3b090400 100644
--- a/pjnath/src/pjnath-test/stun_sock_test.c
+++ b/pjnath/src/pjnath-test/stun_sock_test.c
@@ -360,7 +360,7 @@ on_return:
destroy_server(srv);
destroy_client(client);
for (i=0; i<7; ++i)
- handle_events(cfg, 50);
+ handle_events(cfg, 100);
return ret;
}
@@ -429,7 +429,7 @@ on_return:
destroy_server(srv);
destroy_client(client);
for (i=0; i<7; ++i)
- handle_events(cfg, 50);
+ handle_events(cfg, 100);
return ret;
}
@@ -796,7 +796,7 @@ on_return:
destroy_server(srv);
destroy_client(client);
for (i=0; i<7; ++i)
- handle_events(cfg, 50);
+ handle_events(cfg, 100);
return ret;
}
diff --git a/pjsip/src/test/tsx_basic_test.c b/pjsip/src/test/tsx_basic_test.c
index baae9fd3..1a63b539 100644
--- a/pjsip/src/test/tsx_basic_test.c
+++ b/pjsip/src/test/tsx_basic_test.c
@@ -267,7 +267,7 @@ int tsx_destroy_test()
"normal unable to resolve",
&tsx_create_and_send_req,
"sip:user@somehost",
- 10000,
+ 15000,
1
},
{
@@ -275,7 +275,7 @@ int tsx_destroy_test()
&tsx_create_and_send_req,
"sip:user@somehost",
1,
- 10000
+ 15000
},
{
"tcp connect and destroy",