[asterisk-dev] [Code Review] 4077: Test Suite: Unregister registered outbound registrations
Kevin Harwell
reviewboard at asterisk.org
Thu Oct 16 16:12:50 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4077/#review13556
-----------------------------------------------------------
Ship it!
Ship It!
- Kevin Harwell
On Oct. 14, 2014, 11:03 a.m., jbigelow wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4077/
> -----------------------------------------------------------
>
> (Updated Oct. 14, 2014, 11:03 a.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Repository: testsuite
>
>
> Description
> -------
>
> This tests unregistering outbound registrations that are registered using the PJSIPUnregister AMI action. It ensures that Asterisk sends a REGISTER message with an Expires header of '0' upon executing the PJSIPUnregister AMI action and that AMI Registry events are present with a status of "Unregistered". The test uses all combinations of IPv4/IPv6 and UDP/TCP.
>
> Upon an outbound registration registering, the PJSIPUnregister action is executed to unregister it. SIPp is used as the registrar to respond when Asterisk registers and unregisters where the Expires header is checked.
>
> Note: This test currently fails due to the following Asterisk bugs:
> * https://issues.asterisk.org/jira/browse/ASTERISK-24411
> * https://issues.asterisk.org/jira/browse/ASTERISK-24414
>
> The SIPp scenario contains a pause at the end to work around ASTERISK-24414 for the time being. The 'expectedResult' property is set within the YAML file to expect the test to fail (and thus pass) while ASTERISK-24411 is unresolved however there appears to be a bug in testsuite as it's still marked as failed.
>
>
> Diffs
> -----
>
> /asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/sipp/unregister.xml PRE-CREATION
> /asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/configs/ast1/pjsip.conf PRE-CREATION
> /asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/tests.yaml PRE-CREATION
> /asterisk/trunk/tests/channels/pjsip/registration/outbound/tests.yaml 5726
>
> Diff: https://reviewboard.asterisk.org/r/4077/diff/
>
>
> Testing
> -------
>
> * Ran test in a shell loop 300 times without failure (with patch for Asterisk applied from ASTERISK-24411 and work around for ASTERISK-24414)
> * Ran test several times without patch applied from ASTERISK-24411 which constantly failed as expected.
> * Ran test several times without work around for ASTERISK-24414 which frequently failed as expected.
>
>
> Thanks,
>
> jbigelow
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141016/8e954de0/attachment.html>
More information about the asterisk-dev
mailing list