[asterisk-commits] mjordan: testsuite/asterisk/trunk r6434 - in /asterisk/trunk/tests/cdr/cdr_ma...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Feb 14 22:09:00 CST 2015


Author: mjordan
Date: Sat Feb 14 22:08:58 2015
New Revision: 6434

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=6434
Log:
tests/cdr_manipulation: Make the ForkCDR tests slightly more reliable

* cdr_fork_end_time: Add some dialplan that is assumed to exist due to loading
  sample configs.

* console_fork_after_busy_forward: Delay slightly before indicating BUSY. The
  test needs to verify that the Original CDR is of a longer duration than the
  Forked CDR, and Wait'ing a bit should ensure that it should always be longer
  than the Forked CDR so long as the Forked CDR isn't completely messed up.

Modified:
    asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/configs/ast1/extensions.conf
    asterisk/trunk/tests/cdr/cdr_manipulation/console_fork_after_busy_forward/configs/ast1/extensions.conf

Modified: asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/configs/ast1/extensions.conf?view=diff&rev=6434&r1=6433&r2=6434
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/cdr/cdr_manipulation/cdr_fork_end_time/configs/ast1/extensions.conf Sat Feb 14 22:08:58 2015
@@ -12,3 +12,7 @@
 exten => 1,n,ForkCDR(e)
 exten => 1,n,Playback(silence/4)
 exten => 1,n,Hangup
+
+exten => 2,1,NoOp()
+ same => n,NoCdr()
+ same => n,Busy()

Modified: asterisk/trunk/tests/cdr/cdr_manipulation/console_fork_after_busy_forward/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_manipulation/console_fork_after_busy_forward/configs/ast1/extensions.conf?view=diff&rev=6434&r1=6433&r2=6434
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_manipulation/console_fork_after_busy_forward/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/cdr/cdr_manipulation/console_fork_after_busy_forward/configs/ast1/extensions.conf Sat Feb 14 22:08:58 2015
@@ -10,11 +10,13 @@
 exten => 1,n,Dial(SIP/test/2)
 exten => 1,n,Goto(${DIALSTATUS})
 exten => 1,n,Hangup
-exten => 1,n(BUSY),ForkCDR
+exten => 1,n(BUSY),NoOp()
+exten => 1,n,ForkCDR
 exten => 1,n,Dial(SIP/test/3)
 exten => 1,n,Hangup
 
 exten => 2,1,NoOp()
+exten => 2,n,Wait(2)
 exten => 2,n,Busy()
 exten => 2,n,Hangup()
 




More information about the asterisk-commits mailing list