[asterisk-commits] mjordan: testsuite/asterisk/trunk r5205 - /asterisk/trunk/tests/rest_api/chan...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 6 21:10:36 CDT 2014


Author: mjordan
Date: Sun Jul  6 21:10:31 2014
New Revision: 5205

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5205
Log:
rest_api/channels/originate: Update test to expect both Local channel halves

When originating a Local channel to a Stasis app, an implicit subscription
should be created on both halves. This update to the test is anticipation of
the change to Asterisk.

Modified:
    asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py
    asterisk/trunk/tests/rest_api/channels/originate/test-config.yaml

Modified: asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py?view=diff&rev=5205&r1=5204&r2=5205
==============================================================================
--- asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py (original)
+++ asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py Sun Jul  6 21:10:31 2014
@@ -27,7 +27,7 @@
 	global CHANNELS
 	LOGGER.debug("on_channel_destroyed: %s" % str(event.get('channel')))
 	CHANNELS += 1
-	if CHANNELS == 25:
+	if CHANNELS == 50:
 		LOGGER.info("All channels destroyed")
 		test_object.set_passed(True)
 		test_object.stop_reactor()

Modified: asterisk/trunk/tests/rest_api/channels/originate/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/channels/originate/test-config.yaml?view=diff&rev=5205&r1=5204&r2=5205
==============================================================================
--- asterisk/trunk/tests/rest_api/channels/originate/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/channels/originate/test-config.yaml Sun Jul  6 21:10:31 2014
@@ -37,7 +37,7 @@
                 match:
                     type: ChannelDestroyed
                     application: testsuite
-            count: 25
+            count: 50
             callback:
                 module: channel_originate
                 method: on_channel_destroyed




More information about the asterisk-commits mailing list