[asterisk-commits] kmoore: testsuite/asterisk/trunk r5921 - in /asterisk/trunk/tests/rest_api: b...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 13 09:53:38 CST 2014
Author: kmoore
Date: Thu Nov 13 09:53:34 2014
New Revision: 5921
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5921
Log:
Testsuite: Fix tests that use AriTestObject
Since the StasisEnd message is no longer guaranteed to be delivered
before the AMI Hangup message upon which AriTestObject relies to
determine when tests end, tests using AriTestObject can no longer
expect delivery of the StasisEnd message at all since the websocket
transport may be torn down by the time the message is emitted.
Modified:
asterisk/trunk/tests/rest_api/bridges/add_recording_channel/test-config.yaml
asterisk/trunk/tests/rest_api/bridges/blind_transfer/test-config.yaml
asterisk/trunk/tests/rest_api/bridges/bridge_record/test-config.yaml
asterisk/trunk/tests/rest_api/danger/dangerous/test-config.yaml
asterisk/trunk/tests/rest_api/danger/safe/test-config.yaml
asterisk/trunk/tests/rest_api/recording/file_conflicts/test-config.yaml
asterisk/trunk/tests/rest_api/recording/format_unavailable/test-config.yaml
asterisk/trunk/tests/rest_api/recording/nominal/test-config.yaml
Modified: asterisk/trunk/tests/rest_api/bridges/add_recording_channel/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/bridges/add_recording_channel/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/bridges/add_recording_channel/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/bridges/add_recording_channel/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -25,11 +25,6 @@
callback:
module: add_recording_channel
method: on_start
- - conditions:
- match:
- type: StasisEnd
- application: testsuite
- count: 1
properties:
minversion: '12.0.0'
Modified: asterisk/trunk/tests/rest_api/bridges/blind_transfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/bridges/blind_transfer/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/bridges/blind_transfer/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/bridges/blind_transfer/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -6,7 +6,6 @@
test-modules:
add-test-to-search-path: True
test-object:
- config-section: test-object-config
typename: ari.AriTestObject
modules:
- config-section: ari-config
Modified: asterisk/trunk/tests/rest_api/bridges/bridge_record/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/bridges/bridge_record/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/bridges/bridge_record/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/bridges/bridge_record/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -12,7 +12,6 @@
test-modules:
add-test-to-search-path: True
test-object:
- config-section: test-object-config
typename: ari.AriTestObject
modules:
- config-section: ari-config
Modified: asterisk/trunk/tests/rest_api/danger/dangerous/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/danger/dangerous/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/danger/dangerous/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/danger/dangerous/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -7,7 +7,6 @@
test-modules:
add-test-to-search-path: True
test-object:
- config-section: test-object-config
typename: ari.AriTestObject
modules:
- config-section: ari-config
@@ -27,11 +26,6 @@
callback:
module: dangerous
method: on_start
- - conditions:
- match:
- type: StasisEnd
- application: testsuite
- count: 1
properties:
minversion: '12.0.0'
Modified: asterisk/trunk/tests/rest_api/danger/safe/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/danger/safe/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/danger/safe/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/danger/safe/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -7,7 +7,6 @@
test-modules:
add-test-to-search-path: True
test-object:
- config-section: test-object-config
typename: ari.AriTestObject
modules:
- config-section: ari-config
@@ -24,11 +23,6 @@
callback:
module: safe
method: on_start
- - conditions:
- match:
- type: StasisEnd
- application: testsuite
- count: 1
properties:
minversion: '12.0.0'
Modified: asterisk/trunk/tests/rest_api/recording/file_conflicts/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/recording/file_conflicts/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/recording/file_conflicts/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/recording/file_conflicts/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -8,7 +8,6 @@
test-modules:
add-test-to-search-path: True
test-object:
- config-section: test-object-config
typename: ari.AriTestObject
modules:
- config-section: ari-config
@@ -26,11 +25,6 @@
callback:
module: recording
method: on_start
- - conditions:
- match:
- type: StasisEnd
- application: testsuite
- count: 1
properties:
minversion: '12.0.0'
Modified: asterisk/trunk/tests/rest_api/recording/format_unavailable/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/recording/format_unavailable/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/recording/format_unavailable/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/recording/format_unavailable/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -7,7 +7,6 @@
test-modules:
add-test-to-search-path: True
test-object:
- config-section: test-object-config
typename: ari.AriTestObject
modules:
- config-section: ari-config
@@ -25,11 +24,6 @@
callback:
module: recording
method: on_start
- - conditions:
- match:
- type: StasisEnd
- application: testsuite
- count: 1
properties:
minversion: '12.0.0'
Modified: asterisk/trunk/tests/rest_api/recording/nominal/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/recording/nominal/test-config.yaml?view=diff&rev=5921&r1=5920&r2=5921
==============================================================================
--- asterisk/trunk/tests/rest_api/recording/nominal/test-config.yaml (original)
+++ asterisk/trunk/tests/rest_api/recording/nominal/test-config.yaml Thu Nov 13 09:53:34 2014
@@ -6,7 +6,6 @@
test-modules:
add-test-to-search-path: True
test-object:
- config-section: test-object-config
typename: ari.AriTestObject
modules:
- config-section: ari-config
@@ -38,11 +37,6 @@
module: recording
method: on_recording_finished
count: 1
- - conditions:
- match:
- type: StasisEnd
- application: testsuite
- count: 1
properties:
minversion: '12.0.0'
More information about the asterisk-commits
mailing list