Summary: | ASTERISK-23352: Testsuite: tests/cdr/originate-cdr-disposition fails, reports success | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2014-02-23 15:05:06.000-0600 | Date Closed: | 2014-02-26 09:04:05.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Tests/testsuite |
Versions: | SVN | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) testsuite-originate-cdr-disposition.patch | |
Description: | 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. | ||
Comments: | By: Matt Jordan (mjordan) 2014-02-23 21:54:33.821-0600 Changes look good to me. Thanks for catching that! |