[svn-commits] mjordan: testsuite/asterisk/trunk r5854 - /asterisk/trunk/tests/rest_api/chan...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Nov 1 18:54:48 CDT 2014
Author: mjordan
Date: Sat Nov 1 18:54:42 2014
New Revision: 5854
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5854
Log:
tests/rest_api/channels/playback/tones_w_tonezone: Fix stability issues
Another test that looked for events after stop_reactor closes the underlying
WebSocket, this test also now uses an action/event pair to stop the test on
the last expected event.
Modified:
asterisk/trunk/tests/rest_api/channels/playback/tones_w_tonezone/test-config.yaml
Modified: asterisk/trunk/tests/rest_api/channels/playback/tones_w_tonezone/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/channels/playback/tones_w_tonezone/test-config.yaml?view=diff&rev=5854&r1=5853&r2=5854
==============================================================================
--- asterisk/trunk/tests/rest_api/channels/playback/tones_w_tonezone/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/channels/playback/tones_w_tonezone/test-config.yaml Sat Nov 1 18:54:42 2014
@@ -28,10 +28,25 @@
config-section: test-object-config
typename: ari.AriOriginateTestObject
modules:
- - config-section: ari-config
+ -
+ config-section: ari-config
typename: ari.WebSocketEventModule
+ -
+ config-section: ari-test-stopper
+ typename: pluggable_modules.EventActionModule
test-object-config:
+ stop-on-end: False
+
+ari-test-stopper:
+ -
+ ari-events:
+ match:
+ type: ChannelDestroyed
+ application: testsuite
+ channel:
+ id: 'testsuite-default-id$'
+ stop_test:
ari-config:
apps: testsuite
@@ -122,12 +137,3 @@
channel:
id: 'testsuite-default-id$'
count: 1
- -
- conditions:
- match:
- type: ChannelDestroyed
- application: testsuite
- channel:
- id: 'testsuite-default-id$'
- count: 1
-
More information about the svn-commits
mailing list