[asterisk-dev] [Code Review] 3422: testsuite: Fix Asterisk shutdown timeout in chan_sip session_timer tests by hanging up channels

Corey Farrell reviewboard at asterisk.org
Sat Apr 5 19:38:24 CDT 2014


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

Review request for Asterisk Developers.


Bugs: ASTERISK-23591
    https://issues.asterisk.org/jira/browse/ASTERISK-23591


Repository: testsuite


Description
-------

11 of the chan_sip session_timer tests fail to hangup channels from sipp.  This causes graceful shutdown to timeout, and asterisk is killed.

Fixing this reduces overall test time by 2 minutes, more if the asterisk shutdown timeout is increased.

Before anyone asks: yes, the added XML is identical on every single test.  Most of the files were already identical except a line or two, the goal of this change is to fix the timeout's.


Diffs
-----

  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/small_minse_no_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/small_minse_medium_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/small_minse_large_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/no_minse_no_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/no_minse_medium_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/no_minse_large_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/medium_minse_no_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/medium_minse_medium_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/medium_minse_large_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/large_minse_no_se/sipp/uac-session-timer.xml 4894 
  /asterisk/trunk/tests/channels/SIP/session_timers/uas_originate/large_minse_large_se/sipp/uac-session-timer.xml 4894 

Diff: https://reviewboard.asterisk.org/r/3422/diff/


Testing
-------

Testing was done with patch from ASTERISK-23369 so that asterisk shutdown timeout caused failures.

Retested with this patch, no failures in tests/channels/SIP/session_timers.


Thanks,

Corey Farrell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140406/a55edfb2/attachment.html>


More information about the asterisk-dev mailing list