[asterisk-commits] mjordan: testsuite/asterisk/trunk r2129 - in /asterisk/trunk/tests/apps/voice...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 9 10:00:07 CDT 2011
Author: mjordan
Date: Fri Sep 9 10:00:03 2011
New Revision: 2129
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2129
Log:
Readjusted timeout for reactor rescheduling; reduced and moved Wait times for better UserEvent handling
Modified:
asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/extensions.conf
asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/extensions.conf
asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/run-test
Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/extensions.conf?view=diff&rev=2129&r1=2128&r2=2129
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast1/extensions.conf Fri Sep 9 10:00:03 2011
@@ -15,7 +15,6 @@
same => n,Hangup()
same => n(pass),NoOp()
same => n,UserEvent(TestResult,result: pass, status: VoiceMail exited successfully)
- same => n,Wait(2)
same => n,Hangup()
;
@@ -29,7 +28,6 @@
same => n,Hangup()
same => n(pass),NoOp()
same => n,UserEvent(TestResult,result: pass, status: VoiceMail exited successfully)
- same => n,Wait(2)
same => n,Hangup()
;
@@ -44,7 +42,6 @@
same => n,Hangup()
same => n(pass),NoOp()
same => n,UserEvent(TestResult,result: pass, status: VoiceMail exited successfully)
- same => n,Wait(2)
same => n,Hangup()
exten => o,1,UserEvent(TestResult,result: fail,status: failed to exit successfully through '#' key)
Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/extensions.conf?view=diff&rev=2129&r1=2128&r2=2129
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/configs/ast2/extensions.conf Fri Sep 9 10:00:03 2011
@@ -19,9 +19,8 @@
same => n,Verbose(1, Playing back ${TALK_AUDIO})
same => n,Playback(${TALK_AUDIO})
same => n,Verbose(1, Hanging up Abruptly)
+ same => n,UserEvent(TestResult,result: pass, status: VoiceMail exited successfully)
same => n,Wait(1)
- same => n,UserEvent(TestResult,result: pass, status: VoiceMail exited successfully)
- same => n,Wait(2)
same => n,Hangup()
exten => 9000,1,NoOp()
Modified: asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/run-test?view=diff&rev=2129&r1=2128&r2=2129
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/leave_voicemail_nominal/run-test Fri Sep 9 10:00:03 2011
@@ -32,7 +32,7 @@
def __init__(self):
super(LeaveVoicemailNominal, self).__init__()
self.testResultsReceived = 0
- self.reactor_timeout = 600
+ self.reactor_timeout = 120
self.create_asterisk(2)
def ami_connect(self, ami):
@@ -66,7 +66,7 @@
logger.warn("error: %s" % (event['error'],))
if self.testResultsReceived == 5:
- logger.debug("All results received; stopping reactor")
+ logger.info("All results received; stopping reactor")
self.stop_reactor()
def run(self):
More information about the asterisk-commits
mailing list