mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-27 20:03:52 +00:00
Merge pull request #121852 from pohly/e2e-framework-test-labels-in-junit
e2e: avoid redundant labels in JUnit file
This commit is contained in:
@@ -36,6 +36,10 @@ func WriteJUnitReport(report ginkgo.Report, filename string) error {
|
|||||||
// both, then tools like kettle and spyglass would concatenate
|
// both, then tools like kettle and spyglass would concatenate
|
||||||
// the two strings and thus show duplicated information.
|
// the two strings and thus show duplicated information.
|
||||||
OmitFailureMessageAttr: true,
|
OmitFailureMessageAttr: true,
|
||||||
|
|
||||||
|
// All labels are also part of the spec texts in inline [] tags,
|
||||||
|
// so we don't need to write them separately.
|
||||||
|
OmitSpecLabels: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
return reporters.GenerateJUnitReportWithConfig(report, filename, config)
|
return reporters.GenerateJUnitReportWithConfig(report, filename, config)
|
||||||
|
|||||||
Reference in New Issue
Block a user