[asterisk-commits] kharwell: testsuite/asterisk/trunk r4571 - in /asterisk/trunk/tests/channels/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 16 16:08:24 CST 2014


Author: kharwell
Date: Thu Jan 16 16:08:19 2014
New Revision: 4571

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4571
Log:
res_pjsip ami: Fixed show_endpoint/s tests failures

These tests were failing because they were expecting the device state to
be 'Invalid' where as it is more than likely to be 'Not in use' now due
to the channel driver now properly updating device states at load up.

(closes issue ASTERISK-23065)
Reported by: Rusty Newton

Modified:
    asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml
    asterisk/trunk/tests/channels/pjsip/ami/show_endpoints/test-config.yaml

Modified: asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml?view=diff&rev=4571&r1=4570&r2=4571
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/pjsip/ami/show_endpoint/test-config.yaml Thu Jan 16 16:08:19 2014
@@ -115,7 +115,7 @@
                     RtpIpv6: 'false'
                     DtmfMode: 'rfc4733'
                     Context: 'default'
-                    DeviceState: 'Invalid'
+                    DeviceState: 'Invalid|Not in use|Unavailable'
                     ActiveChannels: ''
             count: 1
         -

Modified: asterisk/trunk/tests/channels/pjsip/ami/show_endpoints/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/ami/show_endpoints/test-config.yaml?view=diff&rev=4571&r1=4570&r2=4571
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/ami/show_endpoints/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/pjsip/ami/show_endpoints/test-config.yaml Thu Jan 16 16:08:19 2014
@@ -44,7 +44,7 @@
                     Auths: 'user.*'
                     OutboundAuths: ''
                     Contacts: user1/sip:user1 at 127.0.0.1:5062|user2/sip:user2 at 127.0.0.1:5063
-                    DeviceState: 'Invalid'
+                    DeviceState: 'Invalid|Not in use|Unavailable'
                     ActiveChannels: ''
             count: 2
         -




More information about the asterisk-commits mailing list