[asterisk-dev] [Code Review] 4122: testsuite: Fix freeze on tests/pbx/dialplan_reload

Scott Griepentrog reviewboard at asterisk.org
Thu Oct 30 12:27:08 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4122/#review13631
-----------------------------------------------------------

Ship it!


The test originally needed the 50 iterations to be sure to catch the fault, but as it's just checking for a specific regression 5 will do fine.

- Scott Griepentrog


On Oct. 29, 2014, 6:27 a.m., Corey Farrell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4122/
> -----------------------------------------------------------
> 
> (Updated Oct. 29, 2014, 6:27 a.m.)
> 
> 
> Review request for Asterisk Developers and Scott Griepentrog.
> 
> 
> Repository: testsuite
> 
> 
> Description
> -------
> 
> In some configurations 3 seconds is not enough of a delay before Asterisk is fully booted, preventing "core restart gracefully" from succeeding.  This causes many iterations to be skipped, and in some cases the test never ends.
> 
> Make use of "core waitfullybooted" to delay restarts.  Remove unused global variables workingdir and testdir, add global variable restart_iterations to specify 50 runs.  Decrease reactor_timeout from 300 to 30, use reset_timeout instead.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/tests/pbx/dialplan_reload/run-test 5803 
> 
> Diff: https://reviewboard.asterisk.org/r/4122/diff/
> 
> 
> Testing
> -------
> 
> Yes
> 
> 
> Thanks,
> 
> Corey Farrell
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141030/6cc41ec4/attachment-0001.html>


More information about the asterisk-dev mailing list