Skip to content

Surface JUnit parse errors

Stan Hu requested to merge sh-surface-junit-parse-errors into master

This makes it easier for users to troubleshoot why the JUnit parsing failed:

Screenshot_2020-03-13_at_09.30.18

The test_report.json endpoint previously just showed:

{
  "status": "error_parsing_report"
}

Now, it will show something like:

{
  "status": "error_parsing_report",
  "details": "XML parsing failed: 1:1: FATAL: Document is empty"
}

Closes #210328 (closed)

Edited by Stan Hu

Merge request reports