-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
3.0.6
We use xunit in a parallel pipeline to analyze test report files.
When there are multiple test failures, xunit only marks the first calling stage as unstable. All other stages are marked as passed.
Here is an stage overview of a MWE illustrating the problem:
All three stages perform the xunit analysis on the same test report file which contains one failing test. The xunit call is like so:
xunit thresholds: [failed(unstableThreshold: '0')], tools: [GoogleTest(deleteOutputFiles: true, failIfNotNew: false, pattern: "*.xml", skipNoTestFiles: false, stopProcessingIfError: true)]
The only difference between the stages is a delay before calling xunit which has been swapped between the three stages for each run.
I would expect all three stages to be marked unstable, like so:
We use xunit version 3.0.5, and Jenkins Core 2.319.3