[asterisk-bugs] [JIRA] (ASTERISK-23352) Testsuite: tests/cdr/originate-cdr-disposition fails, reports success

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sun Feb 23 21:56:03 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215572#comment-215572 ] 

Matt Jordan commented on ASTERISK-23352:
----------------------------------------

Changes look good to me. Thanks for catching that!
                
> Testsuite: tests/cdr/originate-cdr-disposition fails, reports success
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-23352
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23352
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/testsuite
>    Affects Versions: SVN
>            Reporter: Corey Farrell
>         Attachments: testsuite-originate-cdr-disposition.patch
>
>
> The test-config.yaml for this test specifies ignore-originate-failure as 'yes' or 'no'.  Both strings evaulate to True, causing all failures to be ignored.
> tests/cdr/cdr-tests.py fails catch the exception thrown by Originate failures.  All exception backtraces are shown, for excepted and unexpected failures.  Additionally test_object.set_pass(False) is never run for unexpected failures, so success is incorrectly reported.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list