[asterisk-dev] [Code Review]: Testsuite: Add tests for SIP session timers

Mark Michelson reviewboard at asterisk.org
Mon Nov 5 16:04:58 CST 2012



> On Nov. 5, 2012, 3:51 p.m., Mark Michelson wrote:
> > You could make these tests time out less quickly if you changed the session-timers-minse and session-timers-expires settings in Asterisk on each test. That way, you could set the session timer to be something like 10 seconds instead of 90.

s/less quickly/more quickly/

oops


- Mark


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2180/#review7358
-----------------------------------------------------------


On Nov. 5, 2012, 2:08 p.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2180/
> -----------------------------------------------------------
> 
> (Updated Nov. 5, 2012, 2:08 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This adds a series of 4 basic SIP session timer tests where Asterisk is UAS or UAC and where Asterisk or the SIPp scenario on the remote end is expected to refresh the session.  There are several additional timer tests that are already planned that will cover more complex scenarios.
> 
> 
> This addresses bug SWP-5054.
>     https://issues.asterisk.org/jira/browse/SWP-5054
> 
> 
> Diffs
> -----
> 
>   asterisk/trunk/lib/python/asterisk/SimpleTestCase.py 3504 
>   asterisk/trunk/lib/python/asterisk/TestCase.py 3504 
>   asterisk/trunk/lib/python/asterisk/sipp.py 3504 
>   asterisk/trunk/tests/channels/SIP/tests.yaml 3504 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_refresh/configs/ast1/extensions.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_refresh/configs/ast1/sip.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_refresh/originator.py PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_refresh/sipp/uas-no-hangup.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_refresh/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_teardown/configs/ast1/extensions.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_teardown/configs/ast1/sip.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_teardown/originator.py PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_teardown/sipp/uas-no-hangup.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uac_teardown/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_refresh/configs/ast1/extensions.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_refresh/configs/ast1/sip.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_refresh/sipp/uac-no-hangup.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_refresh/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_teardown/configs/ast1/extensions.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_teardown/configs/ast1/sip.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_teardown/sipp/uac-no-hangup.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/basic_uas_teardown/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/timers/tests.yaml PRE-CREATION 
> 
> Diff: https://reviewboard.asterisk.org/r/2180/diff
> 
> 
> Testing
> -------
> 
> Tested on Asterisk 1.8, 11, and trunk.
> 
> 
> Thanks,
> 
> opticron
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121105/6a7bb4be/attachment.htm>


More information about the asterisk-dev mailing list