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
-
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/svn-commits