Changeset 3287


Ignore:
Timestamp:
Aug 18, 2010 2:30:17 PM (14 years ago)
Author:
nanang
Message:

Automated test (re #1111): fixed test scenario scripts-recvfrom/301_timer_good_retry_after_422.py to use separate transaction for ACK (pattern matching was done to ACK, instead of INVITE).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/scripts-recvfrom/301_timer_good_retry_after_422.py

    r2858 r3287  
    1212                                include=["Session-Expires:\s*1000"],  
    1313                                exclude=[], 
    14                                 resp_hdr=["Min-SE: 2000"], 
    15                 expect="ACK sip" 
     14                                resp_hdr=["Min-SE: 2000"] 
    1615                                ) 
    1716 
     17# Wait for ACK 
     18req2 = sip.RecvfromTransaction("Wait ACK", 0, include=["ACK sip"]) 
     19 
    1820# New INVITE with SE >= Min-SE 
    19 req2 = sip.RecvfromTransaction("Retrying with acceptable SE", 200, 
     21req3 = sip.RecvfromTransaction("Retrying with acceptable SE", 200, 
    2022                                include=["Session-Expires:\s*2000", "Min-SE:\s*2000"],  
    2123                                exclude=[], 
     
    2527 
    2628recvfrom_cfg = sip.RecvfromCfg("Session timers retry after 422", 
    27                                pjsua, [req1, req2]) 
     29                               pjsua, [req1, req2, req3]) 
    2830 
Note: See TracChangeset for help on using the changeset viewer.