Changeset 4898 for pjproject


Ignore:
Timestamp:
Aug 21, 2014 3:43:11 AM (10 years ago)
Author:
nanang
Message:

Misc (re #1751): fixed occasional failure in pjsip-test & pjnath-test caused by resource leak.

Location:
pjproject/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/concur_test.c

    r4537 r4898  
    253253    pj_assert(status == PJ_SUCCESS); 
    254254 
    255     status = pj_ioqueue_create(pool, 512, &test_sess.stun_cfg.ioqueue); 
     255    status = pj_ioqueue_create(pool, PJ_IOQUEUE_MAX_HANDLES, &test_sess.stun_cfg.ioqueue); 
    256256    pj_assert(status == PJ_SUCCESS); 
    257257 
  • pjproject/trunk/pjnath/src/pjnath-test/stun_sock_test.c

    r4360 r4898  
    361361    destroy_client(client); 
    362362    for (i=0; i<7; ++i) 
    363         handle_events(cfg, 50); 
     363        handle_events(cfg, 100); 
    364364    return ret; 
    365365} 
     
    430430    destroy_client(client); 
    431431    for (i=0; i<7; ++i) 
    432         handle_events(cfg, 50); 
     432        handle_events(cfg, 100); 
    433433    return ret; 
    434434} 
     
    797797    destroy_client(client); 
    798798    for (i=0; i<7; ++i) 
    799         handle_events(cfg, 50); 
     799        handle_events(cfg, 100); 
    800800    return ret; 
    801801} 
  • pjproject/trunk/pjsip/src/test/tsx_basic_test.c

    r4537 r4898  
    268268            &tsx_create_and_send_req, 
    269269            "sip:user@somehost", 
    270             10000, 
     270            15000, 
    271271            1 
    272272        }, 
     
    276276            "sip:user@somehost", 
    277277            1, 
    278             10000 
     278            15000 
    279279        }, 
    280280        { 
Note: See TracChangeset for help on using the changeset viewer.