[asterisk-commits] mnicholson: testsuite/asterisk/trunk r248 - /asterisk/trunk/tests/originate-c...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 23 11:31:21 CDT 2010


Author: mnicholson
Date: Fri Apr 23 11:31:17 2010
New Revision: 248

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=248
Log:
Wait a second after the call ends to give asterisk time to write CDRs before we inspect them.

Modified:
    asterisk/trunk/tests/originate-cdr-disposition/test.lua

Modified: asterisk/trunk/tests/originate-cdr-disposition/test.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/originate-cdr-disposition/test.lua?view=diff&rev=248&r1=247&r2=248
==============================================================================
--- asterisk/trunk/tests/originate-cdr-disposition/test.lua (original)
+++ asterisk/trunk/tests/originate-cdr-disposition/test.lua Fri Apr 23 11:31:17 2010
@@ -115,6 +115,7 @@
 	m:disconnect()
 
 	-- check and make sure the proper CDRs were generated
+	posix.sleep(1) -- give asterisk a second to write CDRs
 	print("checking CDR")
 	check_cdr(a, record, disposition)
 end




More information about the asterisk-commits mailing list