[asterisk-commits] kharwell: testsuite/asterisk/trunk r4771 - in /asterisk/trunk: ./ lib/python/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 4 12:52:57 CST 2014


Author: kharwell
Date: Tue Mar  4 12:52:49 2014
New Revision: 4771

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4771
Log:
test_conditions: pre-/post- checks cleanup

Removed pre/post checks from any testsuite test that currently contained them.
Fixed a couple of bugs that caused the testsuite to hang (exception thrown
causing the twisted reactor to crash) with regards to channel pre/post checks.
Also made it so any future test wishing to utilize this functionality will
have its configuration appropriately read.

Review: https://reviewboard.asterisk.org/r/3268/

Modified:
    asterisk/trunk/lib/python/asterisk/channel_test_condition.py
    asterisk/trunk/lib/python/asterisk/test_case.py
    asterisk/trunk/test-config.yaml
    asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/authenticate_nominal/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/func_vmcount/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml
    asterisk/trunk/tests/apps/voicemail/play_message/test-config.yaml
    asterisk/trunk/tests/callparking/test-config.yaml
    asterisk/trunk/tests/channels/SIP/SDP_attribute_passthrough/test-config.yaml
    asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/test-config.yaml
    asterisk/trunk/tests/channels/SIP/message_send_ami/test-config.yaml
    asterisk/trunk/tests/channels/SIP/sip_hold/test-config.yaml
    asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/test-config.yaml
    asterisk/trunk/tests/channels/pjsip/message/message_send_ami/test-config.yaml
    asterisk/trunk/tests/dynamic-modules/test-config.yaml
    asterisk/trunk/tests/funcs/func_srv/test-config.yaml
    asterisk/trunk/tests/masquerade/test-config.yaml
    asterisk/trunk/tests/pbx/pbx_lua_background/test-config.yaml
    asterisk/trunk/tests/pbx/pbx_lua_goto/test-config.yaml

Modified: asterisk/trunk/lib/python/asterisk/channel_test_condition.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/channel_test_condition.py?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/lib/python/asterisk/channel_test_condition.py (original)
+++ asterisk/trunk/lib/python/asterisk/channel_test_condition.py Tue Mar  4 12:52:49 2014
@@ -58,10 +58,10 @@
                 super(ChannelTestCondition, self).fail_check(msg)
             return result
 
-        def _raise_finished(finish_deferred):
+        def _raise_finished(result, finish_deferred):
             """Raise the deferred callback"""
             finish_deferred.callback(self)
-            return finish_deferred
+            return result
 
         finish_deferred = defer.Deferred()
         # Set to pass and let a failure override

Modified: asterisk/trunk/lib/python/asterisk/test_case.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/test_case.py?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/lib/python/asterisk/test_case.py (original)
+++ asterisk/trunk/lib/python/asterisk/test_case.py Tue Mar  4 12:52:49 2014
@@ -157,10 +157,6 @@
                                                             self.stop_reactor)
         global_conditions = self.global_config.get_conditions()
         conditions = self.test_config.get_conditions()
-
-        # If there are no global conditions return
-        if (len(global_conditions) == 0):
-            return
 
         # Get those global conditions that are not in the self conditions
         for g_cond in global_conditions:
@@ -214,6 +210,7 @@
             host = "127.0.0.%d" % num
             self.ast.append(Asterisk(base=self.base, host=host,
                                      ast_conf_options=self.ast_conf_options))
+            self.condition_controller.register_asterisk_instance(self.ast[i])
             # If a base configuration for this Asterisk instance has been
             # provided, install it first
             if base_configs_path:

Modified: asterisk/trunk/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/test-config.yaml (original)
+++ asterisk/trunk/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -16,41 +16,41 @@
             -
                 name: 'threads'
                 pre:
-                    typename: 'asterisk.thread_test_condition.ThreadPreTestCondition'
+                    typename: 'thread_test_condition.ThreadPreTestCondition'
                 post:
-                    typename: 'asterisk.thread_test_condition.ThreadPostTestCondition'
-                    related-type: 'asterisk.thread_test_condition.ThreadPreTestCondition'
+                    typename: 'thread_test_condition.ThreadPostTestCondition'
+                    related-type: 'thread_test_condition.ThreadPreTestCondition'
             -
                 name: 'sip-dialogs'
                 pre:
-                    typename: 'asterisk.sip_dialog_test_condition.SipDialogPreTestCondition'
+                    typename: 'sip_dialog_test_condition.SipDialogPreTestCondition'
                 post:
-                    typename: 'asterisk.sip_dialog_test_condition.SipDialogPostTestCondition'
+                    typename: 'sip_dialog_test_condition.SipDialogPostTestCondition'
             -
                 name: 'locks'
                 pre:
-                    typename: 'asterisk.lock_test_condition.LockTestCondition'
+                    typename: 'lock_test_condition.LockTestCondition'
                 post:
-                    typename: 'asterisk.lock_test_condition.LockTestCondition'
+                    typename: 'lock_test_condition.LockTestCondition'
             -
                 name: 'file-descriptors'
                 pre:
-                    typename: 'asterisk.fd_test_condition.FdPreTestCondition'
+                    typename: 'fd_test_condition.FdPreTestCondition'
                 post:
-                    typename: 'asterisk.fd_test_condition.FdPostTestCondition'
-                    related-type: 'asterisk.fd_test_condition.FdPreTestCondition'
+                    typename: 'fd_test_condition.FdPostTestCondition'
+                    related-type: 'fd_test_condition.FdPreTestCondition'
             -
                 name: 'channels'
                 pre:
-                    typename: 'asterisk.channel_test_condition.ChannelTestCondition'
+                    typename: 'channel_test_condition.ChannelTestCondition'
                 post:
-                    typename: 'asterisk.channel_test_condition.ChannelTestCondition'
+                    typename: 'channel_test_condition.ChannelTestCondition'
             -
                 name: 'sip-channels'
                 pre:
-                    typename: 'asterisk.sip_channel_test_condition.SipChannelTestCondition'
+                    typename: 'sip_channel_test_condition.SipChannelTestCondition'
                 post:
-                    typename: 'asterisk.sip_channel_test_condition.SipChannelTestCondition'
+                    typename: 'sip_channel_test_condition.SipChannelTestCondition'
 
 # Exclude all long-running tests (greater than one minute)
 config-fast:

Modified: asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -15,10 +15,6 @@
         - sipp :
             version : 'v3.0'
         - asterisk : 'chan_sip'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'autoservice_run'
     tags:
         - SIP
         - apps

Modified: asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_extensions/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,14 +7,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_invalid_mailbox/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,14 +7,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_invalid_password/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,14 +7,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/authenticate_nominal/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/authenticate_nominal/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/authenticate_nominal/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/authenticate_nominal/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,14 +8,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_callback/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,14 +8,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_delete/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,14 +8,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_dialout/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,14 +7,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_envelope/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -9,14 +9,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,14 +7,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,16 +8,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          # Note: the abrupt hangup will leave the SIP dialog in flight
-          expectedResult: 'FAIL'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,22 +7,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          # Note: the abrupt hangup will leave the SIP dialog in flight
-          expectedResult: 'FAIL'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
-        - name: 'file-descriptors'
-          # This test will fail the FD check - for an unknown reason, some files are left
-          # open at the end of the run, probably due to the hangup in the middle of recording
-          # the prepend file.  This very well may be a bug in Asterisk, but requires more
-          # analysis at this time.
-          expectedResult: 'FAIL'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -9,14 +9,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user_hangup/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,13 +8,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          # Note: the abrupt hangup will leave the SIP dialog in flight
-          expectedResult: 'FAIL'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,14 +8,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_options_change_password/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -16,17 +16,6 @@
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
         - asterisk : 'chan_sip'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-            # Allow shaun_of_the_dead to exist after a run, as our external password check
-            # may still be going on
-            - 'shaun_of_the_dead'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     tags:
         - voicemail
         - apps

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_busy/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -13,14 +13,6 @@
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
         - asterisk : 'chan_sip'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     tags:
         - voicemail
         - apps

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_name/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -13,14 +13,6 @@
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
         - asterisk : 'chan_sip'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     tags:
         - voicemail
         - apps

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_temp/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -13,14 +13,6 @@
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
         - asterisk : 'chan_sip'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     tags:
         - voicemail
         - apps

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_options_record_unavail/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -13,14 +13,6 @@
         - asterisk : 'app_senddtmf'
         - asterisk : 'app_playback'
         - asterisk : 'chan_sip'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     tags:
         - voicemail
         - apps

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_reply/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,14 +8,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_while_leaving_msg/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -12,14 +12,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/func_vmcount/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/func_vmcount/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/func_vmcount/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/func_vmcount/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,12 +7,6 @@
 
 properties:
     minversion: '1.8.0.0'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          enabled: 'False'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_contexts/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -6,14 +6,6 @@
 
 properties:
     minversion: '1.8.14.0'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -9,15 +9,6 @@
 
 properties:
     minversion: '1.8.0.0'
-    testconditions:
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,14 +8,6 @@
 properties:
     minversion: '1.8.9'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_forwarding_auto_urgent/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,14 +8,6 @@
 properties:
     minversion: '1.8.9'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -9,14 +9,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -24,4 +16,4 @@
         - asterisk: 'app_senddtmf'
     tags:
         - voicemail
-        - apps
+        - apps

Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_priority/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -7,14 +7,6 @@
 properties:
     minversion: '1.8.0.0'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
-        - name: 'sip-dialogs'
-          sipHistoryRequirements:
-            - 'NewChan'
-            - 'Hangup'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/apps/voicemail/play_message/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/play_message/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/play_message/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/play_message/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -11,10 +11,6 @@
 properties:
     minversion: '1.8.11-cert1'
     buildoption: 'TEST_FRAMEWORK'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'netconsole'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'

Modified: asterisk/trunk/tests/callparking/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/callparking/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/callparking/test-config.yaml (original)
+++ asterisk/trunk/tests/callparking/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -8,10 +8,6 @@
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'autoservice_run'
     tags:
         - parking
         - iax2

Modified: asterisk/trunk/tests/channels/SIP/SDP_attribute_passthrough/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/SDP_attribute_passthrough/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/channels/SIP/SDP_attribute_passthrough/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/SIP/SDP_attribute_passthrough/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -11,9 +11,5 @@
         - sipp :
             version : 'v3.0'
         - asterisk : 'chan_sip'
-    testconditions:
-        - name: 'threads'
-          ignoredThreads:
-            - 'autoservice_run'
     tags:
         - SIP

Modified: asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/test-config.yaml?view=diff&rev=4771&r1=4770&r2=4771
==============================================================================
--- asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/test-config.yaml (original)
+++ asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/test-config.yaml Tue Mar  4 12:52:49 2014
@@ -11,13 +11,5 @@
         - sipp :
             version : 'v3.0'

[... 159 lines stripped ...]



More information about the asterisk-commits mailing list