[asterisk-commits] rmudgett: testsuite/asterisk/trunk r3553 - in /asterisk/trunk/tests/masquerad...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 30 16:32:48 CST 2012
Author: rmudgett
Date: Fri Nov 30 16:32:44 2012
New Revision: 3553
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3553
Log:
Fix sporadic masquerade test failures.
The masquerade test occasionally failed due to the parked call hanging up
while it was in the parking lot. Apparently time passes at different
rates for the two instances of Asterisk the test uses. The parking lot
should have timed out (at 300 seconds) which is before the call should
have gotten tired of waiting and hung up (at 330 seconds).
* Increased the parked call waiting for all channels to be optimized out
from 330 seconds (5 min 30 sec) to 930 seconds (15 min 30 sec).
* Increased the parkingtime from 300 seconds (5 min) to 900 seconds (15 min).
(closes issue ASTERISK-20689)
Reported by: Matt Jordan
Modified:
asterisk/trunk/tests/masquerade/configs/ast1/features.conf
asterisk/trunk/tests/masquerade/configs/ast2/extensions.conf
Modified: asterisk/trunk/tests/masquerade/configs/ast1/features.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/masquerade/configs/ast1/features.conf?view=diff&rev=3553&r1=3552&r2=3553
==============================================================================
--- asterisk/trunk/tests/masquerade/configs/ast1/features.conf (original)
+++ asterisk/trunk/tests/masquerade/configs/ast1/features.conf Fri Nov 30 16:32:44 2012
@@ -2,5 +2,6 @@
parkext => 700
parkpos => 701-720
context => parkedcalls
-parkingtime => 300
+; A 15 minute parking timeout ought to be long enough!
+parkingtime => 900
findslot => next ; Continue to the 'next' free parking space.
Modified: asterisk/trunk/tests/masquerade/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/masquerade/configs/ast2/extensions.conf?view=diff&rev=3553&r1=3552&r2=3553
==============================================================================
--- asterisk/trunk/tests/masquerade/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/masquerade/configs/ast2/extensions.conf Fri Nov 30 16:32:44 2012
@@ -5,7 +5,9 @@
[incoming]
exten => 9000,1,NoOp(Wait for parked call to be retrieved)
exten => 9000,n,Answer()
-exten => 9000,n,WaitExten(330,m)
+; Please wait a long time for the local channels to be optimized out!
+; 330 seconds is not quite long enough!
+exten => 9000,n,WaitExten(930,m)
exten => 9000,n,UserEvent(ast1,status: FAILURE WaitExten timeout)
exten => 9000,n,Hangup()
More information about the asterisk-commits
mailing list