[asterisk-commits] mjordan: testsuite/asterisk/trunk r2619 - in /asterisk/trunk: ./ lib/python/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 17 11:28:28 CDT 2011


Author: mjordan
Date: Mon Oct 17 11:28:23 2011
New Revision: 2619

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2619
Log:
Updates to fix pessimistic mode issues

Modified:
    asterisk/trunk/lib/python/asterisk/TestConditions.py
    asterisk/trunk/runtests.py
    asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml
    asterisk/trunk/tests/callparking/test-config.yaml
    asterisk/trunk/tests/channels/SIP/handle_response_address_incomplete/test-config.yaml
    asterisk/trunk/tests/directed_pickup/configs/ast1/extensions.conf
    asterisk/trunk/tests/func_srv/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/TestConditions.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/TestConditions.py?view=diff&rev=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/lib/python/asterisk/TestConditions.py (original)
+++ asterisk/trunk/lib/python/asterisk/TestConditions.py Mon Oct 17 11:28:23 2011
@@ -115,7 +115,7 @@
         Evaluate the post-test conditions
         """
         if (len(self.__postchecks) > 0):
-            time.sleep(5)
+            time.sleep(10)
             logger.debug("Evaluating post checks")
             self.__evaluate_checks(self.__postchecks)
 

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Mon Oct 17 11:28:23 2011
@@ -112,7 +112,7 @@
                         except:
                             code = 0
                             message = io
-                        print "ErrNo: %d - %s" % code, message
+                        print "ErrNo: %d - %s" % (code, message)
                     except:
                         print "Unknown exception occurred while attempting to copy backtrace"
                 except IOError, io:
@@ -123,7 +123,7 @@
                     except:
                         code = 0
                         message = io
-                    print "ErrNo: %d - %s" % code, message
+                    print "ErrNo: %d - %s" % (code, message)
                 except:
                     print "Unknown exception occurred while attempting to copy backtrace"
 
@@ -161,7 +161,7 @@
                             except:
                                 code = 0
                                 message = io
-                            print "ErrNo: %d - %s" % code, message
+                            print "ErrNo: %d - %s" % (code, message)
                         except:
                             print "Unknown exception occurred while attempting to copy logs"
                     except IOError, io:
@@ -172,7 +172,7 @@
                         except:
                             code = 0
                             message = io
-                        print "ErrNo: %d - %s" % code, message
+                        print "ErrNo: %d - %s" % (code, message)
                     except:
                         print "Unknown exception occurred while attempting to copy logs"
             else:

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=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/incomplete/sip_incomplete/test-config.yaml Mon Oct 17 11:28:23 2011
@@ -16,5 +16,5 @@
             version : 'v3.0'
     testconditions:
         - name: 'threads'
-          # We expect this to fail per ASTERISK-18713
-          expectedResult: 'Fail'
+          ignoredThreads:
+            - 'autoservice_run'

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=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/tests/callparking/test-config.yaml (original)
+++ asterisk/trunk/tests/callparking/test-config.yaml Mon Oct 17 11:28:23 2011
@@ -10,5 +10,5 @@
         - python : 'starpy'
     testconditions:
         - name: 'threads'
-          # We expect this to fail per ASTERISK-18713
-          expectedResult: 'Fail'
+          ignoredThreads:
+            - 'autoservice_run'

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=2619&r1=2618&r2=2619
==============================================================================
--- 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 Mon Oct 17 11:28:23 2011
@@ -16,5 +16,5 @@
           expectedResult: 'Fail'
     testconditions:
         - name: 'threads'
-          # We expect this to fail per ASTERISK-18713
-          expectedResult: 'Fail'
+          ignoredThreads:
+            - 'autoservice_run'

Modified: asterisk/trunk/tests/directed_pickup/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/directed_pickup/configs/ast1/extensions.conf?view=diff&rev=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/tests/directed_pickup/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/directed_pickup/configs/ast1/extensions.conf Mon Oct 17 11:28:23 2011
@@ -10,7 +10,7 @@
 exten => ringing_exten,1,NoOp()
     same => n,Ringing()
     same => n,UserEvent(TestStatus,status:RINGING)
-    same => n,Background(demo-congrats,noanswer)
+    same => n,Background(tt-monkeys,noanswer)
 
 exten => 1002,1,NoOp()
     same => n,PickupChan(IAX2/iax_pickup_b)

Modified: asterisk/trunk/tests/func_srv/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/func_srv/test-config.yaml?view=diff&rev=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/tests/func_srv/test-config.yaml (original)
+++ asterisk/trunk/tests/func_srv/test-config.yaml Mon Oct 17 11:28:23 2011
@@ -11,6 +11,5 @@
         - python : 'starpy'
     testconditions:
         - name: 'threads'
-          # We expect this to fail per ASTERISK-18713
-          expectedResult: 'Fail'
-
+          ignoredThreads:
+            - 'autoservice_run'

Modified: asterisk/trunk/tests/pbx/pbx_lua_background/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/pbx/pbx_lua_background/test-config.yaml?view=diff&rev=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/tests/pbx/pbx_lua_background/test-config.yaml (original)
+++ asterisk/trunk/tests/pbx/pbx_lua_background/test-config.yaml Mon Oct 17 11:28:23 2011
@@ -11,5 +11,6 @@
         - asterisk : 'pbx_lua'
     testconditions:
         - name: 'threads'
-          # We expect this to fail per ASTERISK-18713
-          expectedResult: 'Fail'
+          ignoredThreads:
+            - 'autoservice_run'
+

Modified: asterisk/trunk/tests/pbx/pbx_lua_goto/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/pbx/pbx_lua_goto/test-config.yaml?view=diff&rev=2619&r1=2618&r2=2619
==============================================================================
--- asterisk/trunk/tests/pbx/pbx_lua_goto/test-config.yaml (original)
+++ asterisk/trunk/tests/pbx/pbx_lua_goto/test-config.yaml Mon Oct 17 11:28:23 2011
@@ -11,5 +11,6 @@
         - asterisk : 'pbx_lua'
     testconditions:
         - name: 'threads'
-          # We expect this to fail per ASTERISK-18713
-          expectedResult: 'Fail'
+          ignoredThreads:
+            - 'autoservice_run'
+




More information about the asterisk-commits mailing list