Closed (fixed)
Project:
DrupalCI: Test Runner
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
10 Sep 2015 at 12:11 UTC
Updated:
28 Sep 2015 at 18:34 UTC
Jump to comment: Most recent, Most recent file
https://www.drupal.org/node/2565259#comment-10313175 revealed that there is a shortage of fails being reported. Too many failed element children are being attached to the xml output, when the fails should be concatenated together into one fail message.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 2566265.diff | 1.69 KB | drumm |
Comments
Comment #4
MixologicThis is fixed on the branch.
Before:
https://dispatcher.drupalci.org/job/DCI_XML/108/testReport/
https://dispatcher.drupalci.org/job/DCI_XML/108/testReport/Update/Drupal...
After:
https://dispatcher.drupalci.org/job/DCI_XML/110/testReport/
https://dispatcher.drupalci.org/job/DCI_XML/110/testReport/Update/Drupal...
Comment #5
dawehnerNice! Does this also automatically deals with the segfault?
Comment #6
Mixologicdahwehner: no, the segfaults are different. If a php fatal or a segfault happens in a unit test, drupalci doesnt display those anywhere but on the console output right now, primarily because it doesnt know about them. This just fixes the output when there is more than one assertion failing/throwing an exception within the same test method.
Comment #7
drummLooks okay, but the whitespace was bothering me a bit, patch attached.
Comment #9
basic commentedLooks good with the whitespace fixes
Comment #10
MixologicThis has been in prod for a bit. Works.