[asterisk-commits] mmichelson: testsuite/asterisk/trunk r370 - /asterisk/trunk/tests/queues/ring...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 8 15:40:47 CDT 2010


Author: mmichelson
Date: Tue Jun  8 15:40:44 2010
New Revision: 370

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=370
Log:
Add a couple of sleeps after sipp execution.

This should ensure the scenario is up and running before we try calling.
I saw no more failures on the bamboo agent after this change.


Modified:
    asterisk/trunk/tests/queues/ringinuse_and_pause/test.lua

Modified: asterisk/trunk/tests/queues/ringinuse_and_pause/test.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/queues/ringinuse_and_pause/test.lua?view=diff&rev=370&r1=369&r2=370
==============================================================================
--- asterisk/trunk/tests/queues/ringinuse_and_pause/test.lua (original)
+++ asterisk/trunk/tests/queues/ringinuse_and_pause/test.lua Tue Jun  8 15:40:44 2010
@@ -155,6 +155,8 @@
 unbusy_the_member(man)
 sipp_check_error(sipp_proc, "sipp/uas.xml")
 sipp_proc = sipp_exec("sipp/uas.xml", "5061")
+--Sleep for a bit to ensure scenario is up and running
+posix.sleep(1)
 --Now the member is available. A call from
 --the first queue will work perfectly.
 test_call("queue1", "Success", true, false)
@@ -162,6 +164,8 @@
 --it ends after a hangup
 sipp_check_error(sipp_proc, "sipp/uas.xml")
 sipp_proc = sipp_exec("sipp/uas.xml", "5061")
+--Sleep for a bit to ensure scenario is up and running
+posix.sleep(1)
 --However, the member is paused in this queue,
 --so we should see no call attempt get made
 --at all.




More information about the asterisk-commits mailing list