[asterisk-dev] [Code Review] Add some CDR tests
Terry Wilson
twilson at digium.com
Thu Apr 22 13:59:12 CDT 2010
> On 2010-04-22 13:48:10, Matthew Nicholson wrote:
> > Where is the patch that goes with this to make these tests pass?
There isn't one. I already committed the fix for the merge issue that was causing failures for me. All the tests pass for me.
- Terry
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/620/#review1887
-----------------------------------------------------------
On 2010-04-21 10:53:50, Terry Wilson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/620/
> -----------------------------------------------------------
>
> (Updated 2010-04-21 10:53:50)
>
>
> Review request for Asterisk Developers and Russell Bryant.
>
>
> Summary
> -------
>
> Here are 9 CDR tests. Also added is a wrapper class for starpy's AMI that does exponential backoff reconnecting on a failed connect. The better thing to do with that would be to modify starpy itself to have AMIFactory inherit from ReconnectingClientFactory instead of ClientFactory.
>
>
> Diffs
> -----
>
> /asterisk/trunk/lib/python/asterisk/ami.py PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_unanswered_yes/configs/cdr.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_unanswered_yes/configs/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_unanswered_yes/configs/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_unanswered_yes/configs/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_unanswered_yes/configs/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_unanswered_yes/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_unanswered_yes/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_userfield/configs/cdr.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_userfield/configs/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_userfield/configs/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_userfield/configs/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_userfield/configs/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_userfield/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/cdr_userfield/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/configs1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/configs1/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/configs1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/configs2/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/configs2/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/configs_common/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/configs_common/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_answer/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/configs1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/configs1/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/configs1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/configs2/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/configs2/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/configs_common/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/configs_common/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_busy/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/configs1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/configs1/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/configs1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/configs2/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/configs2/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/configs_common/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/configs_common/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_congestion/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/configs1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/configs1/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/configs1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/configs2/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/configs2/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/configs_common/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/configs_common/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/console_dial_sip_transfer/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/configs1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/configs1/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/configs1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/configs2/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/configs2/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/configs_common/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/configs_common/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_after_busy_forward/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/configs1/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/configs1/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/configs1/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/configs2/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/configs2/sip.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/configs_common/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/configs_common/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/console_fork_before_dial/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/cdr/nocdr/configs/cdr.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/nocdr/configs/extensions.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/nocdr/configs/logger.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/nocdr/configs/manager.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/nocdr/configs/modules.conf PRE-CREATION
> /asterisk/trunk/tests/cdr/nocdr/run-test PRE-CREATION
> /asterisk/trunk/tests/cdr/nocdr/test-config.yaml PRE-CREATION
> /asterisk/trunk/tests/tests.yaml 241
>
> Diff: https://reviewboard.asterisk.org/r/620/diff
>
>
> Testing
> -------
>
> At one point I tested against all releases from 1.4 to 1.6.2 making sure I could make them both fail and pass. I reworked the tests to use twisted so I wouldn't have to do sleep() calls waiting for a call to end and instead just listen for manager events. I have tested on 1.4 and 1.6.2 for those changes.
>
>
> Thanks,
>
> Terry
>
>
More information about the asterisk-dev
mailing list