[asterisk-commits] mjordan: testsuite/asterisk/trunk r2319 - in /asterisk/trunk/tests/apps/voice...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 16 16:20:24 CDT 2011
Author: mjordan
Date: Fri Sep 16 16:20:23 2011
New Revision: 2319
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2319
Log:
Added buildoption to check_voicemail tests to prevent them from running
when TEST_FRAMEWORK is not available, tweaked timing on extensions
Modified:
asterisk/trunk/tests/apps/voicemail/check_voicemail_new_user/test-config.yaml
asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml
asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/extensions.conf
asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/extensions.conf
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=2319&r1=2318&r2=2319
==============================================================================
--- 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 Fri Sep 16 16:20:23 2011
@@ -8,6 +8,7 @@
properties:
minversion: '1.8'
+ buildoption: 'TEST_FRAMEWORK'
testconditions:
-
name: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
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=2319&r1=2318&r2=2319
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_nominal/test-config.yaml Fri Sep 16 16:20:23 2011
@@ -7,6 +7,7 @@
properties:
minversion: '1.8'
+ buildoption: 'TEST_FRAMEWORK'
testconditions:
-
name: 'asterisk.ThreadTestCondition.ThreadPreTestCondition'
Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/extensions.conf?view=diff&rev=2319&r1=2318&r2=2319
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast1/extensions.conf Fri Sep 16 16:20:23 2011
@@ -10,8 +10,8 @@
same => n(fail),UserEvent(TestResult,result: fail, status: VoiceMail failed to exit successfully - returned ${VMSTATUS})
same => n,Hangup()
same => n(pass),NoOp()
- same => n,Wait(1)
same => n,UserEvent(TestResult,result: ${EXTEN}, status: VoiceMail exited successfully with SUCCESS)
+ same => n,Wait(2)
same => n,Hangup()
exten => 9000,1,NoOp()
@@ -20,8 +20,8 @@
same => n(fail),UserEvent(TestResult,result: fail, status: VoiceMail failed to exit successfully - returned ${VMSTATUS})
same => n,Hangup()
same => n(pass),NoOp()
- same => n,Wait(1)
same => n,UserEvent(TestResult,result: 9000, status: VoiceMail exited successfully with SUCCESS)
+ same => n,Wait(2)
same => n,Hangup()
exten => o,1,UserEvent(TestResult,result: fail,status: failed to exit successfully)
Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/extensions.conf?view=diff&rev=2319&r1=2318&r2=2319
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_external_notification/configs/ast2/extensions.conf Fri Sep 16 16:20:23 2011
@@ -6,5 +6,5 @@
same => n,Verbose(1, Playing back ${TALK_AUDIO})
same => n,Playback(${TALK_AUDIO})
same => n,SendDTMF(#)
- same => n,Wait(2)
+ same => n,Wait(10)
same => n,Hangup()
More information about the asterisk-commits
mailing list