[asterisk-dev] [Code Review] 3476: Memory Pre- and Post-Test Condition
Mark Michelson
reviewboard at asterisk.org
Mon Apr 28 10:31:11 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3476/#review11762
-----------------------------------------------------------
./asterisk/trunk/lib/python/asterisk/memory_test_condition.py
<https://reviewboard.asterisk.org/r/3476/#comment21568>
if not pre_cond
./asterisk/trunk/sample-yaml/memorytestcondition-config.yaml.sample
<https://reviewboard.asterisk.org/r/3476/#comment21567>
Are these options necessary for using the memory test conditions? If not, you should just remove these from the sample.
./asterisk/trunk/sample-yaml/memorytestcondition-config.yaml.sample
<https://reviewboard.asterisk.org/r/3476/#comment21566>
The units need to be specified here (bytes? kilobytes?)
- Mark Michelson
On April 25, 2014, 8:42 p.m., Benjamin Keith Ford wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3476/
> -----------------------------------------------------------
>
> (Updated April 25, 2014, 8:42 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Bugs: ASTERISK-18429
> https://issues.asterisk.org/jira/browse/ASTERISK-18429
>
>
> Repository: testsuite
>
>
> Description
> -------
>
> This testcondition can be enabled for any test using the keyword 'memory' under testconditions. The purpose of this testcondition is to check the memory allocated before and after the test, and make sure they are within a certain range. If the test wants to look at something specific (such as channel.c), then each allocation that you want to look at can also be specified in under 'allocations'. If both the global memory and individual allocations are to be checked by the test, that option can be enabled by setting 'both' to value True.
>
>
> Diffs
> -----
>
> ./asterisk/trunk/test-config.yaml 4944
> ./asterisk/trunk/sample-yaml/memorytestcondition-config.yaml.sample PRE-CREATION
> ./asterisk/trunk/lib/python/asterisk/test_conditions.py 4944
> ./asterisk/trunk/lib/python/asterisk/test_case.py 4944
> ./asterisk/trunk/lib/python/asterisk/memory_test_condition.py PRE-CREATION
>
> Diff: https://reviewboard.asterisk.org/r/3476/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benjamin Keith Ford
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140428/86c16897/attachment-0001.html>
More information about the asterisk-dev
mailing list